projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e90dea6
)
iio: adc: men_z188_adc: Add terminating entry for men_z188_ids
author
Axel Lin
<axel.lin@ingics.com>
Mon, 10 Nov 2014 08:04:06 +0000
(16:04 +0800)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 15 Nov 2014 16:12:04 +0000
(16:12 +0000)
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>
drivers/iio/adc/men_z188_adc.c
patch
|
blob
|
history
diff --git
a/drivers/iio/adc/men_z188_adc.c
b/drivers/iio/adc/men_z188_adc.c
index
b58d630
..
d095efe
100644
(file)
--- 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);