[Top] [All Lists]

Re: [PATCH 2/2] octeon: only build flash_setup code when CONFIG_MTD is s

To: Ralf Baechle <>
Subject: Re: [PATCH 2/2] octeon: only build flash_setup code when CONFIG_MTD is set
From: Florian Fainelli <>
Date: Mon, 22 Jun 2009 23:05:46 +0200
Cc:, David Daney <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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;; 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: <>
Original-recipient: rfc822;
References: <> <>
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.

Best regards, Florian Fainelli
Email :

<Prev in Thread] Current Thread [Next in Thread>