diff options
Diffstat (limited to 'target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c')
-rw-r--r-- | target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c index d5e33727b5..4f6c4672ef 100644 --- a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c +++ b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c @@ -130,22 +130,16 @@ err: return ret; } -#include <linux/version.h> - -#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) static const struct of_device_id trx_parser_of_match_table[] = { { .compatible = "openwrt,trx" }, {}, }; MODULE_DEVICE_TABLE(of, trx_parser_of_match_table); -#endif static struct mtd_part_parser trx_parser = { .owner = THIS_MODULE, .name = "trx-fw", -#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) .of_match_table = trx_parser_of_match_table, -#endif .parse_fn = mtdsplit_parse_trx, .type = MTD_PARSER_TYPE_FIRMWARE, }; |