Changeset 16417


Ignore:
Timestamp:
2009-06-11T10:07:14+02:00 (7 years ago)
Author:
juhosg
Message:

[ar71xx] move definition of ar91xx_flash_platform_data into a separate header file (closes #5321)

Location:
trunk/target/linux/ar71xx/files
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c

    r16359 r16417  
    1515#include <linux/mtd/mtd.h> 
    1616#include <linux/mtd/partitions.h> 
    17 #include <linux/mtd/physmap.h> 
    1817#include <linux/spi/spi.h> 
    1918#include <linux/spi/spi_gpio.h> 
     
    2221#include <asm/mips_machine.h> 
    2322#include <asm/mach-ar71xx/ar71xx.h> 
     23#include <asm/mach-ar71xx/ar91xx_flash.h> 
    2424 
    2525#include "devices.h" 
  • trunk/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/platform.h

    r16359 r16417  
    1717#include <linux/phy.h> 
    1818#include <linux/spi/spi.h> 
    19 #include <linux/mtd/mtd.h> 
    20 #include <linux/mtd/partitions.h> 
    2119 
    2220struct ag71xx_platform_data { 
     
    5452#define AR71XX_SPI_CS_ACTIVE    1 
    5553 
    56 struct ar91xx_flash_platform_data { 
    57         unsigned int            width; 
    58         u8                      is_shared:1; 
    59 #ifdef CONFIG_MTD_PARTITIONS 
    60         unsigned int            nr_parts; 
    61         struct mtd_partition    *parts; 
    62 #endif 
    63 }; 
    64  
    6554#endif /* __ASM_MACH_AR71XX_PLATFORM_H */ 
  • trunk/target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c

    r16359 r16417  
    2323 
    2424#include <asm/mach-ar71xx/ar71xx.h> 
    25 #include <asm/mach-ar71xx/platform.h> 
     25#include <asm/mach-ar71xx/ar91xx_flash.h> 
    2626 
    2727#define DRV_NAME        "ar91xx-flash" 
Note: See TracChangeset for help on using the changeset viewer.