OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 6... Line 6...
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published 7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation. 8 * by the Free Software Foundation.
9 */ 9 */
Line 10... Line -...
10   -  
11 #include <linux/version.h> 10  
12 #include <linux/kernel.h> 11 #include <linux/kernel.h>
13 #include <linux/module.h> -  
14 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0) 12 #include <linux/module.h>
15 #include <linux/mtd/nand.h> -  
16 #else -  
17 #include <linux/mtd/rawnand.h> -  
18 #endif 13 #include <linux/mtd/nand.h>
19 #include <linux/mtd/mtd.h> 14 #include <linux/mtd/mtd.h>
20 #include <linux/mtd/partitions.h> 15 #include <linux/mtd/partitions.h>
21 #include <linux/platform_device.h> 16 #include <linux/platform_device.h>
22 #include <linux/io.h> 17 #include <linux/io.h>
-   18 #include <linux/slab.h>
Line 23... Line 19...
23 #include <linux/slab.h> 19 #include <linux/version.h>
24   20  
25 #include <asm/mach-ath79/ar71xx_regs.h> 21 #include <asm/mach-ath79/ar71xx_regs.h>