| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: [PATCH 2/2] octeon: only build flash_setup code when CONFIG_MTD is set |
| From: | Florian Fainelli <florian@openwrt.org> |
| Date: | Mon, 22 Jun 2009 23:05:46 +0200 |
| Cc: | linux-mips@linux-mips.org, David Daney <ddaney@caviumnetworks.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=vy9GFS97rsSusFJhAKboI2pLmdkobp5vZVWn/SVUQwQ=; b=RJ2ScU6DHrWgx05Iwyxa7YeaR4QF7up0U1WnULSrtP+ZV1tc9Tbe6UIbsbpC8R4xiR sZPi7kMwLU6PxuQ6sO9E/5mf1LzzFAkLRB9lL/tUFlcJ0RBFca25W5Ybi83qn347vwmI wI2vDN+ANlQUaqx8g4K0HihJV1MR0PTCqKf30= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=MN9cilxSfy1kQaZAfzGDVpx0WYpn0t0dEb3tbwF+IdKp3IetWvV6Dcedu3LWKcgDff 6CsEbY/nBepdDrEGH1obkklLLFESUUyaCj0SSDpp+8XxjIHo3sMZzLASJGUQgXdn/JHP bRbGUreQIvg/AbOaTF1yFetVm2gn3Uqc9UCDs= |
| In-reply-to: | <20090622144042.GC25289@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <200906221116.21621.florian@openwrt.org> <20090622144042.GC25289@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | KMail/1.9.9 |
Le Monday 22 June 2009 16:40:42 Ralf Baechle, vous avez écrit : > On Mon, Jun 22, 2009 at 11:16:21AM +0200, Florian Fainelli wrote: > > This patch makes the flash_setup code be compiled only when > > CONFIG_MTD is set, it does make sense to register a physmap > > platform driver without the MTD subsystem being enabled. > > No. A user might build the MTD subsystem as a module and then insert it > into a running system so the idea is to always register the devices. This > also keeps the information in /proc/iomem rsp. /proc/iostat and sysfs > more useful. Right. -- Best regards, Florian Fainelli Email : florian@openwrt.org http://openwrt.org ------------------------------- |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2/2] octeon: only build flash_setup code when CONFIG_MTD is set, Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH 5/8] add Texas Instruments AR7 support, Florian Fainelli |
| Previous by Thread: | Re: [PATCH 2/2] octeon: only build flash_setup code when CONFIG_MTD is set, Ralf Baechle |
| Next by Thread: | Re: [PATCH V2] oprofile: VR5500 performance counter driver, Robert Richter |
| Indexes: | [Date] [Thread] [Top] [All Lists] |