OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 16... Line 16...
16 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 * 18 *
19 */ 19 */
Line 20... Line -...
20   -  
21 #include <linux/version.h> 20  
22 #include <linux/platform_device.h> 21 #include <linux/platform_device.h>
23 #include <linux/ar8216_platform.h> 22 #include <linux/ar8216_platform.h>
24 #include <linux/mtd/mtd.h> -  
25 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0) 23 #include <linux/mtd/mtd.h>
26 #include <linux/mtd/nand.h> -  
27 #else -  
28 #include <linux/mtd/rawnand.h> -  
29 #endif 24 #include <linux/mtd/nand.h>
Line 30... Line 25...
30 #include <linux/platform/ar934x_nfc.h> 25 #include <linux/platform/ar934x_nfc.h>
Line 31... Line 26...
31   26  
Line 134... Line 129...
134 }; 129 };
Line 135... Line 130...
135   130  
136 static struct mdio_board_info dw33d_mdio0_info[] = { 131 static struct mdio_board_info dw33d_mdio0_info[] = {
137 { 132 {
138 .bus_id = "ag71xx-mdio.0", 133 .bus_id = "ag71xx-mdio.0",
139 .mdio_addr = 0, 134 .phy_addr = 0,
140 .platform_data = &dw33d_qca8337_data, 135 .platform_data = &dw33d_qca8337_data,
141 }, 136 },
Line 142... Line 137...
142 }; 137 };