Changeset 30655


Ignore:
Timestamp:
2012-02-19T20:40:37+01:00 (6 years ago)
Author:
juhosg
Message:

ramips: rt3883: make rt3883_nand_data visible

Location:
trunk/target/linux/ramips/files/arch/mips/ralink/rt3883
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.c

    r30631 r30655  
    364364}; 
    365365 
    366 static struct ramips_nand_platform_data rt3883_nand_data; 
    367  
     366struct ramips_nand_platform_data rt3883_nand_data; 
    368367static struct platform_device rt3883_nand_device = { 
    369368        .name           = RAMIPS_NAND_DRIVER_NAME, 
     
    376375}; 
    377376 
    378 void __init rt3883_register_nand(struct mtd_partition *parts, int nr_parts) 
    379 { 
    380         rt3883_nand_data.parts = parts; 
    381         rt3883_nand_data.nr_parts = nr_parts; 
     377void __init rt3883_register_nand(void) 
     378{ 
    382379        platform_device_register(&rt3883_nand_device); 
    383380} 
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h

    r30631 r30655  
    1818void rt3883_register_pflash(unsigned int id); 
    1919 
    20 struct mtd_partition; 
    21 void rt3883_register_nand(struct mtd_partition *parts, int nr_parts); 
     20extern struct ramips_nand_platform_data rt3883_nand_data; 
     21void rt3883_register_nand(void); 
    2222 
    2323extern struct ramips_eth_platform_data rt3883_eth_data; 
Note: See TracChangeset for help on using the changeset viewer.