| To: | Florian Fainelli <florian@openwrt.org>, Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: [PATCH] flash_setup should only be built when CONFIG_MTD is enabled |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Thu, 30 Apr 2009 08:54:10 -0700 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <200904301748.52718.florian@openwrt.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <200904301748.52718.florian@openwrt.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Florian Fainelli wrote: This patch makes flash_setup be compiled only when CONFIG_MTD which solves issue, the MTD driver then fails to register but this is less critical. CC: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> Acked-by: David Daney <ddaney@caviumnetworks.com> --- diff --git a/arch/mips/cavium-octeon/Makefile b/arch/mips/cavium-octeon/Makefile index d6903c3..32bdc81 100644 --- a/arch/mips/cavium-octeon/Makefile +++ b/arch/mips/cavium-octeon/Makefile @@ -10,9 +10,10 @@ #obj-y := setup.o serial.o octeon-irq.o csrc-octeon.o-obj-y += dma-octeon.o flash_setup.o +obj-y += dma-octeon.o obj-y += octeon-memcpy.oobj-$(CONFIG_SMP) += smp.o+obj-$(CONFIG_MTD) += flash_setup.oEXTRA_CFLAGS += -Werror |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] flash_setup should only be built when CONFIG_MTD is enabled, Florian Fainelli |
|---|---|
| Next by Date: | [PATCH 6/6] Add support for __read_mostly to linux/cache.h, Tim Abbott |
| Previous by Thread: | [PATCH] flash_setup should only be built when CONFIG_MTD is enabled, Florian Fainelli |
| Next by Thread: | [PATCH 0/6] macros for section name cleanup, Tim Abbott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |