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
e8b613d7d7
commit
ceef490ef1
@@ -138,6 +138,14 @@ static const struct i2c_device_id 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 = {
|
||||
.driver = {
|
||||
|
||||
Reference in New Issue
Block a user