2
0
forked from Ivasoft/openwrt

target: remove obsolete kernel version switches for 4.19

This removes unneeded kernel version switches from the targets after
kernel 4.19 has been dropped.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler
2020-10-01 17:02:47 +02:00
parent ac5671f46c
commit 2aa558c49a
10 changed files with 2 additions and 272 deletions

View File

@@ -64,7 +64,7 @@
* Also make the driver act read-only if 4K_SECTORS are not enabled, since they
* are require to handle partial erasing of the small soft_config partition.
*/
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0)) && defined(CONFIG_MTD_SPI_NOR_USE_4K_SECTORS)
#if defined(CONFIG_MTD_SPI_NOR_USE_4K_SECTORS)
#define RB_SC_HAS_WRITE_SUPPORT true
#define RB_SC_WMODE S_IWUSR
#define RB_SC_RMODE S_IRUSR