|
@@ -74,7 +74,6 @@
|
|
|
static DEFINE_MUTEX(core_lock);
|
|
|
static DEFINE_IDR(i2c_adapter_idr);
|
|
|
|
|
|
-static struct device_type i2c_client_type;
|
|
|
static int i2c_detect(struct i2c_adapter *adapter, struct i2c_driver *driver);
|
|
|
|
|
|
static struct static_key i2c_trace_msg = STATIC_KEY_INIT_FALSE;
|
|
@@ -1097,11 +1096,12 @@ struct bus_type i2c_bus_type = {
|
|
|
};
|
|
|
EXPORT_SYMBOL_GPL(i2c_bus_type);
|
|
|
|
|
|
-static struct device_type i2c_client_type = {
|
|
|
+struct device_type i2c_client_type = {
|
|
|
.groups = i2c_dev_groups,
|
|
|
.uevent = i2c_device_uevent,
|
|
|
.release = i2c_client_dev_release,
|
|
|
};
|
|
|
+EXPORT_SYMBOL_GPL(i2c_client_type);
|
|
|
|
|
|
|
|
|
/**
|