mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
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>
This commit is contained in:
parent
493f3358cb
commit
6407deb594
1 changed files with 1 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue