Thread (5 messages) flat view 5 messages, 3 authors, 2011-05-03

Re: [PATCH] linux/stmmac.h: include <linux/platform_device.h> to remove compilation warning.

From: David Miller <davem@davemloft.net>
Date: 2011-05-02 22:01:52

From: Viresh Kumar <redacted>
Date: Mon, 2 May 2011 12:00:37 +0530
stmmac.h uses struct platform_device and doesn't include
<linux/platform_device.h>. And so we get following compilation warning while
using this file:
	warning: ‘struct platform_device’ declared inside parameter list

This patch includes <linux/platform_device.h> in stmmac.h to remove this warning

Signed-off-by: Viresh Kumar <redacted>
This patch applies to neither net-2.6, nor net-next-2.6

The context around your change in all current trees looks a lot
different than what's in your patch.

In fact, even if I go through the entire history in GIT of this
header file, those STMAC_TYPE_0 defines are never there.

The string "STMAC_TYPE_0" doesn't even show up in a query to google
code search.

What tree are you even patching against?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help