mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-21 03:55:06 +00:00
ramips: mt7620: ralink-i2s: fix modpost error
Fixes the following error when building without CONFIG_MODULE_STRIPPED: FATAL: modpost: sound/soc/ralink/snd-soc-ralink-i2s: struct of_device_id is not terminated with a NULL entry! Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
5e46f4ebf3
commit
69bdcd69a9
@ -78,7 +78,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
+obj-$(CONFIG_SND_RALINK_SOC_I2S) += snd-soc-ralink-i2s.o
|
+obj-$(CONFIG_SND_RALINK_SOC_I2S) += snd-soc-ralink-i2s.o
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/sound/soc/ralink/ralink-i2s.c
|
+++ b/sound/soc/ralink/ralink-i2s.c
|
||||||
@@ -0,0 +1,965 @@
|
@@ -0,0 +1,966 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
|
+ * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
|
||||||
+ * Copyright (C) 2016 Michael Lee <igvtee@gmail.com>
|
+ * Copyright (C) 2016 Michael Lee <igvtee@gmail.com>
|
||||||
@ -881,6 +881,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
+ .data = (void *)&mt7621_i2s_data },
|
+ .data = (void *)&mt7621_i2s_data },
|
||||||
+ { .compatible = "mediatek,mt7628-i2s",
|
+ { .compatible = "mediatek,mt7628-i2s",
|
||||||
+ .data = (void *)&mt7628_i2s_data },
|
+ .data = (void *)&mt7628_i2s_data },
|
||||||
|
+ {},
|
||||||
+};
|
+};
|
||||||
+MODULE_DEVICE_TABLE(of, ralink_i2s_match_table);
|
+MODULE_DEVICE_TABLE(of, ralink_i2s_match_table);
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user