#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/kernel.h>
#include <linux/i2c.h>
#include <linux/i2c-mux.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
struct i2c_arbitrator_data { … };
static int i2c_arbitrator_select(struct i2c_mux_core *muxc, u32 chan)
{ … }
static int i2c_arbitrator_deselect(struct i2c_mux_core *muxc, u32 chan)
{ … }
static int i2c_arbitrator_probe(struct platform_device *pdev)
{ … }
static void i2c_arbitrator_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id i2c_arbitrator_of_match[] = …;
MODULE_DEVICE_TABLE(of, i2c_arbitrator_of_match);
static struct platform_driver i2c_arbitrator_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;