mac80211: fix symbol dependency of rt2x00lib kernel module
authorSven Over <sp@cedenti.st>
Sun, 23 Feb 2020 19:26:46 +0000 (14:26 -0500)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 7 Mar 2020 19:18:30 +0000 (20:18 +0100)
commit5b13ea8d28fd087aac4c7730a4f9c1143dda15db
treee14c4d5ae70fb4e96cd6dd965db93cd3db7a0f2d
parent00b319e9be3198eb306bf58577b4e2c6fc86af34
mac80211: fix symbol dependency of rt2x00lib kernel module

On platforms that do not have CONFIG_MTD enabled, loading the
rt2x00lib kernel module fails because it depends on symbols from
the mtd module ("Unknown symbol get_mtd_device_nm").

This commit disables the code that can read the eeprom from mtd if
mtd is not enabled.

Signed-off-by: Sven Over <sp@cedenti.st>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/kernel/mac80211/patches/rt2x00/604-rt2x00-load-eeprom-on-SoC-from-a-mtd-device-defines-.patch