diff options
author | Julien Olivain <julien.olivain@nxp.com> | 2016-11-16 09:20:25 +0100 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:27:40 +0800 |
commit | fb312641081c1f65f528922b4e4db25420a199fe (patch) | |
tree | 2650eaa416b0bc1e07fbd1259989cf78006aecd4 /drivers/hwmon | |
parent | d578ca690579d133cce5be7411f26f01c096f8b7 (diff) |
MLK-13472: hwmon: mxc_mma8451: add empty sentinel entry at the end of i2c_device_id table
This is fixing the build when the driver is enabled as a module, when
CONFIG_MXC_MMA8451=m
Signed-off-by: Julien Olivain <julien.olivain@nxp.com>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/mxc_mma8451.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/mxc_mma8451.c b/drivers/hwmon/mxc_mma8451.c index f20fb8e5ef78..9d6c53927757 100644 --- a/drivers/hwmon/mxc_mma8451.c +++ b/drivers/hwmon/mxc_mma8451.c @@ -556,6 +556,7 @@ static int mma8451_resume(struct device *dev) static const struct i2c_device_id mma8451_id[] = { {"mma8451", 0}, + { /* sentinel */ } }; MODULE_DEVICE_TABLE(i2c, mma8451_id); |