[PATCH] ad7414 missing id table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The ad7414 driver is missing an id table.

Signed-off-by: Sean MacLennan <smaclennan at pikatech.com>
---
Index: drivers/hwmon/ad7414.c
===================================================================
--- drivers/hwmon/ad7414.c	(revision 12577)
+++ drivers/hwmon/ad7414.c	(working copy)
@@ -225,12 +225,18 @@
 	return 0;
 }
 
+static const struct i2c_device_id ad7414_id[] = {
+	{ "ad7414", 0 },
+	{}
+};
+
 static struct i2c_driver ad7414_driver = {
 	.driver = {
 		.name	= "ad7414",
 	},
 	.probe	= ad7414_probe,
 	.remove	= __devexit_p(ad7414_remove),
+	.id_table = ad7414_id,
 };
 
 static int __init ad7414_init(void)




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux