From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH] of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS Date: Wed, 19 Dec 2012 16:20:03 +0000 Message-ID: <20121219162003.62A673E0AD6@localhost> References: <1355578062-21876-1-git-send-email-jogo@openwrt.org> <50D1D97B.1020309@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50D1D97B.1020309-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Rob Herring , Jonas Gorski Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: devicetree@vger.kernel.org On Wed, 19 Dec 2012 09:12:59 -0600, Rob Herring wrote: > On 12/15/2012 07:27 AM, Jonas Gorski wrote: > > Fixes the following warning: > > > > include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default] > > include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] > > > > Signed-off-by: Jonas Gorski > > --- > > It seems like this never made it to the list, so hopefully this reply will. > > Rob Applied, thanks. Rob, I've added a signed-off-by tag for you since I *assume* you sign off on receiving this patch under appropriate terms. I will expect to hear from you if this is not the case. :-p g.