summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-11-10 16:04:06 +0800
committerJonathan Cameron <jic23@kernel.org>2014-11-15 16:12:04 +0000
commitfbbba1f89eb68e7d07707e104193d56de8e37fe5 (patch)
tree0f1906f3aa35bd6fd3c64e79c88217defb80a2d4 /drivers
parente90dea6aafa14eb60ab0927f6fe54c620f61ef74 (diff)
downloadblackbird-op-linux-fbbba1f89eb68e7d07707e104193d56de8e37fe5.tar.gz
blackbird-op-linux-fbbba1f89eb68e7d07707e104193d56de8e37fe5.zip
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')
-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);
OpenPOWER on IntegriCloud