iio: adc: men_z188_adc: Add terminating entry for men_z188_ids
PATCH 1/1 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 <[email protected]>
--- drivers/iio/adc/men_z188_adc.c | 1 + 1 file changed, 1 insertion(+)
drivers/iio/adc/men_z188_adc.c +1 -0
@@ -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);
Signature · 1 line
1.9.1
Quoted 3 lines · Axel Lin
The
mcb_device_idtable is supposed to be zero-terminated.Signed-off-by Axel Lin <[email protected]>
Applied to the fixes-togreg branch of iio.git and marked for stable.
Quoted 17 lines
--- drivers/iio/adc/men_z188_adc.c | 1 + 1 file changed, 1 insertion(+)drivers/iio/adc/men_z188_adc.c +1
-0@@ -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);