Skip to content

Commit fbbba1f

Browse files
AxelLinjic23
authored andcommitted
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>
1 parent e90dea6 commit fbbba1f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/iio/adc/men_z188_adc.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ static void men_z188_remove(struct mcb_device *dev)
152152

153153
static const struct mcb_device_id men_z188_ids[] = {
154154
{ .device = 0xbc },
155+
{ }
155156
};
156157
MODULE_DEVICE_TABLE(mcb, men_z188_ids);
157158

0 commit comments

Comments
 (0)