]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
hwmon: (ad7414) add MODULE_DEVICE_TABLE
authoraxel lin <axel.lin@gmail.com>
Thu, 24 Feb 2011 02:20:37 +0000 (02:20 +0000)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 26 Feb 2011 16:59:32 +0000 (08:59 -0800)
The device table is required to load modules based on modaliases.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/ad7414.c

index 86d822aa9bbf78a75ff20d1e4bff1bb0623d3a79..d46c0c758ddf163200f52d8e52cebb0dcf05b4b5 100644 (file)
@@ -242,6 +242,7 @@ static const struct i2c_device_id ad7414_id[] = {
        { "ad7414", 0 },
        {}
 };
+MODULE_DEVICE_TABLE(i2c, ad7414_id);
 
 static struct i2c_driver ad7414_driver = {
        .driver = {