iio: adc: men_z188_adc: Add terminating entry for men_z188_ids
authorAxel Lin <axel.lin@ingics.com>
Mon, 10 Nov 2014 08:04:06 +0000 (16:04 +0800)
committerJonathan 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

index b58d6302521f4d651359715331e83a5a416583a0..d095efe1ba149caa57136ec1f27f1c6caac10cd8 100644 (file)
@@ -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);