mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
mfd: Add rpi_sense_core of compatible string
This commit is contained in:
committed by
popcornmix
parent
04c2569e73
commit
00ba84e390
@@ -138,6 +138,14 @@ static const struct i2c_device_id rpisense_i2c_id[] = {
|
|||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(i2c, rpisense_i2c_id);
|
MODULE_DEVICE_TABLE(i2c, rpisense_i2c_id);
|
||||||
|
|
||||||
|
#ifdef CONFIG_OF
|
||||||
|
static const struct of_device_id rpisense_core_id[] = {
|
||||||
|
{ .compatible = "rpi,rpi-sense" },
|
||||||
|
{ },
|
||||||
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, rpisense_core_id);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
static struct i2c_driver rpisense_driver = {
|
static struct i2c_driver rpisense_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
|
|||||||
Reference in New Issue
Block a user