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/spinlock.h> 12 #include <linux/spinlock.h>
14 #include <linux/module.h> -  
15 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0) 13 #include <linux/module.h>
16 #include <linux/mtd/nand.h> -  
17 #else -  
18 #include <linux/mtd/rawnand.h> -  
19 #endif 14 #include <linux/mtd/nand.h>
20 #include <linux/mtd/mtd.h> 15 #include <linux/mtd/mtd.h>
21 #include <linux/mtd/partitions.h> 16 #include <linux/mtd/partitions.h>
22 #include <linux/platform_device.h> 17 #include <linux/platform_device.h>
23 #include <linux/io.h> 18 #include <linux/io.h>
24 #include <linux/slab.h> 19 #include <linux/slab.h>
25 #include <linux/gpio.h> 20 #include <linux/gpio.h>
-   21 #include <linux/platform_data/rb91x_nand.h>
Line 26... Line 22...
26 #include <linux/platform_data/rb91x_nand.h> 22 #include <linux/version.h>
27   23  
Line 28... Line 24...
28 #include <asm/mach-ath79/ar71xx_regs.h> 24 #include <asm/mach-ath79/ar71xx_regs.h>