hwmon: (ad7414) add MODULE_DEVICE_TABLE

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>
tirimbino
axel lin 14 years ago committed by Guenter Roeck
parent 493f3358cb
commit 6407deb594
  1. 1
      drivers/hwmon/ad7414.c

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

Loading…
Cancel
Save