From b7397011b88a89796817872f806759d7a2037ab5 Mon Sep 17 00:00:00 2001 From: hauke Date: Sat, 18 Aug 2012 14:08:35 +0000 Subject: [brcm47xx] make brcm47xx build only with bcma or only with ssb support. There are some ifdefs missing so when only ssb or only bcma was selected in the kernel config it did not build. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33209 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../027-mtd-bcm47xx-add-serial-flash-driver.patch | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'target/linux/brcm47xx/patches-3.3/027-mtd-bcm47xx-add-serial-flash-driver.patch') diff --git a/target/linux/brcm47xx/patches-3.3/027-mtd-bcm47xx-add-serial-flash-driver.patch b/target/linux/brcm47xx/patches-3.3/027-mtd-bcm47xx-add-serial-flash-driver.patch index 1e2577b72..3aec60c11 100644 --- a/target/linux/brcm47xx/patches-3.3/027-mtd-bcm47xx-add-serial-flash-driver.patch +++ b/target/linux/brcm47xx/patches-3.3/027-mtd-bcm47xx-add-serial-flash-driver.patch @@ -1,22 +1,3 @@ ---- a/arch/mips/include/asm/mach-bcm47xx/bus.h -+++ b/arch/mips/include/asm/mach-bcm47xx/bus.h -@@ -11,6 +11,7 @@ - - #include - #include -+#include - #include - - struct bcm47xx_sflash { -@@ -28,6 +29,8 @@ struct bcm47xx_sflash { - u32 blocksize; /* Block size */ - u32 numblocks; /* Number of blocks */ - u32 size; /* Total size in bytes */ -+ -+ struct mtd_info *mtd; - }; - - void bcm47xx_sflash_struct_bcma_init(struct bcm47xx_sflash *sflash, struct bcma_drv_cc *bcc); --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig @@ -257,6 +257,15 @@ config MTD_BCM47XX_PFLASH -- cgit v1.2.3