Changeset 47952
- Timestamp:
- 2015-12-19T12:32:20+01:00 (2 years ago)
- Location:
- trunk/target/linux/ar71xx/files/arch/mips/ath79
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c
r35392 r47952 107 107 } 108 108 109 void __init ath79_register_m25p80_large(struct flash_platform_data *pdata) 110 { 111 ath79_spi_data.bus_num = 0; 112 ath79_spi_data.num_chipselect = 1; 113 ath79_spi0_cdata.is_flash = false; 114 ath79_spi_info[0].platform_data = pdata; 115 ath79_register_spi(&ath79_spi_data, ath79_spi_info, 1); 116 } 109 117 110 118 void __init ath79_register_m25p80_multi(struct flash_platform_data *pdata) -
trunk/target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.h
r30405 r47952 13 13 14 14 void ath79_register_m25p80(struct flash_platform_data *pdata) __init; 15 void ath79_register_m25p80_large(struct flash_platform_data *pdata) __init; 15 16 void ath79_register_m25p80_multi(struct flash_platform_data *pdata) __init; 16 17
Note: See TracChangeset
for help on using the changeset viewer.