summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-10-01 09:43:33 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-10-02 06:27:46 +0200
commit5d1a657c3ba355f4818129ae2762660aadf8df87 (patch)
tree01810d85170db4f29167ff1132f4a9fbf16a2d3a /drivers/serial
parentd8fee3666a88a76be7171f9f02425ff73c1eb1d3 (diff)
downloadbarebox-5d1a657c3ba355f4818129ae2762660aadf8df87.tar.gz
barebox-5d1a657c3ba355f4818129ae2762660aadf8df87.tar.xz
treewide: fix unterminated of_device_id[] reported by Coccinelle
driver_d::of_compatible outght to point at a NULL-terminated array. Fix instances where this is not the case. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_clps711x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/serial_clps711x.c b/drivers/serial/serial_clps711x.c
index 7a7d595dff..294c88b92f 100644
--- a/drivers/serial/serial_clps711x.c
+++ b/drivers/serial/serial_clps711x.c
@@ -184,6 +184,7 @@ out_err:
static struct of_device_id __maybe_unused clps711x_uart_dt_ids[] = {
{ .compatible = "cirrus,ep7209-uart", },
+ { /* sentinel */ }
};
static struct driver_d clps711x_driver = {