linux/drivers/i2c/busses/i2c-simtec.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2005 Simtec Electronics
 *	Ben Dooks <[email protected]>
 *
 * Simtec Generic I2C Controller
*/

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/io.h>

#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>

struct simtec_i2c_data {};

#define CMD_SET_SDA
#define CMD_SET_SCL

#define STATE_SDA
#define STATE_SCL

/* i2c bit-bus functions */

static void simtec_i2c_setsda(void *pw, int state)
{}

static void simtec_i2c_setscl(void *pw, int state)
{}

static int simtec_i2c_getsda(void *pw)
{}

static int simtec_i2c_getscl(void *pw)
{}

/* device registration */

static int simtec_i2c_probe(struct platform_device *dev)
{}

static void simtec_i2c_remove(struct platform_device *dev)
{}

/* device driver */

static struct platform_driver simtec_i2c_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();
MODULE_ALIAS();