summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/men_z188_adc.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-11-10 11:04:06 +0300
committerJonathan Cameron <jic23@kernel.org>2014-11-15 19:12:04 +0300
commitfbbba1f89eb68e7d07707e104193d56de8e37fe5 (patch)
tree0f1906f3aa35bd6fd3c64e79c88217defb80a2d4 /drivers/iio/adc/men_z188_adc.c
parente90dea6aafa14eb60ab0927f6fe54c620f61ef74 (diff)
downloadlinux-fbbba1f89eb68e7d07707e104193d56de8e37fe5.tar.xz
iio: adc: men_z188_adc: Add terminating entry for men_z188_ids
The mcb_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin <axel.lin@ingics.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/men_z188_adc.c')
-rw-r--r--drivers/iio/adc/men_z188_adc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/men_z188_adc.c b/drivers/iio/adc/men_z188_adc.c
index b58d6302521f..d095efe1ba14 100644
--- a/drivers/iio/adc/men_z188_adc.c
+++ b/drivers/iio/adc/men_z188_adc.c
@@ -152,6 +152,7 @@ static void men_z188_remove(struct mcb_device *dev)
static const struct mcb_device_id men_z188_ids[] = {
{ .device = 0xbc },
+ { }
};
MODULE_DEVICE_TABLE(mcb, men_z188_ids);