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/init.h> 11 #include <linux/init.h>
13 #include <linux/interrupt.h> 12 #include <linux/interrupt.h>
14 #include <linux/module.h> 13 #include <linux/module.h>
15 #include <linux/dma-mapping.h> 14 #include <linux/dma-mapping.h>
16 #include <linux/mtd/mtd.h> -  
17 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0) 15 #include <linux/mtd/mtd.h>
18 #include <linux/mtd/nand.h> -  
19 #else -  
20 #include <linux/mtd/rawnand.h> -  
21 #endif 16 #include <linux/mtd/nand.h>
22 #include <linux/mtd/partitions.h> 17 #include <linux/mtd/partitions.h>
23 #include <linux/platform_device.h> 18 #include <linux/platform_device.h>
24 #include <linux/delay.h> 19 #include <linux/delay.h>
-   20 #include <linux/slab.h>
Line 25... Line 21...
25 #include <linux/slab.h> 21 #include <linux/version.h>
Line 26... Line 22...
26   22  
27 #include <linux/platform/ar934x_nfc.h> 23 #include <linux/platform/ar934x_nfc.h>