#include <dt-bindings/i2c/i2c.h>
#include <linux/acpi.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/of.h>
#include "i2c-core.h"
#define CREATE_TRACE_POINTS
#include <trace/events/i2c_slave.h>
int i2c_slave_register(struct i2c_client *client, i2c_slave_cb_t slave_cb)
{ … }
EXPORT_SYMBOL_GPL(…);
int i2c_slave_unregister(struct i2c_client *client)
{ … }
EXPORT_SYMBOL_GPL(…);
int i2c_slave_event(struct i2c_client *client,
enum i2c_slave_event event, u8 *val)
{ … }
EXPORT_SYMBOL_GPL(…);
bool i2c_detect_slave_mode(struct device *dev)
{ … }
EXPORT_SYMBOL_GPL(…);