linux/drivers/i2c/muxes/i2c-mux-gpmux.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * General Purpose I2C multiplexer
 *
 * Copyright (C) 2017 Axentia Technologies AB
 *
 * Author: Peter Rosin <[email protected]>
 */

#include <linux/i2c.h>
#include <linux/i2c-mux.h>
#include <linux/module.h>
#include <linux/mux/consumer.h>
#include <linux/of.h>
#include <linux/platform_device.h>

struct mux {};

static int i2c_mux_select(struct i2c_mux_core *muxc, u32 chan)
{}

static int i2c_mux_deselect(struct i2c_mux_core *muxc, u32 chan)
{}

static struct i2c_adapter *mux_parent_adapter(struct device *dev)
{}

static const struct of_device_id i2c_mux_of_match[] =;
MODULE_DEVICE_TABLE(of, i2c_mux_of_match);

static int i2c_mux_probe(struct platform_device *pdev)
{}

static void i2c_mux_remove(struct platform_device *pdev)
{}

static struct platform_driver i2c_mux_driver =;
module_platform_driver();

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