linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio: adc: men_z188_adc: Add terminating entry for men_z188_ids
@ 2014-11-10  8:04 Axel Lin
  2014-11-15 16:09 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2014-11-10  8:04 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Johannes Thumshirn, Lars-Peter Clausen, linux-iio@vger.kernel.org

The mcb_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/iio/adc/men_z188_adc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/adc/men_z188_adc.c b/drivers/iio/adc/men_z188_adc.c
index b58d630..d095efe 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);
 
-- 
1.9.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-15 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-10  8:04 [PATCH] iio: adc: men_z188_adc: Add terminating entry for men_z188_ids Axel Lin
2014-11-15 16:09 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).