diff options
author | Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> | 2021-03-25 23:23:01 -0700 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-03-31 01:10:01 +0100 |
commit | a86c3fd800c703e67ad9b633aa4353b5f222d0e3 (patch) | |
tree | a4c176b5dd4e937dd8f6cda196b46836dfa0c73b /target/linux | |
parent | 070ead4d4aaf30f5c6017054b822c3c6d649b071 (diff) | |
download | upstream-a86c3fd800c703e67ad9b633aa4353b5f222d0e3.tar.gz upstream-a86c3fd800c703e67ad9b633aa4353b5f222d0e3.tar.bz2 upstream-a86c3fd800c703e67ad9b633aa4353b5f222d0e3.zip |
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>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch b/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch index f625d41449..0393c23f65 100644 --- a/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch +++ b/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch @@ -78,7 +78,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> +obj-$(CONFIG_SND_RALINK_SOC_I2S) += snd-soc-ralink-i2s.o --- /dev/null +++ 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) 2016 Michael Lee <igvtee@gmail.com> @@ -881,6 +881,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> + .data = (void *)&mt7621_i2s_data }, + { .compatible = "mediatek,mt7628-i2s", + .data = (void *)&mt7628_i2s_data }, ++ {}, +}; +MODULE_DEVICE_TABLE(of, ralink_i2s_match_table); + |