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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user