diff options
| author | Viresh KUMAR <[email protected]> | 2011-05-02 18:36:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-05-03 16:09:40 -0700 |
| commit | 57a503c61db077b923e23f36050c02166a4a1db2 (patch) | |
| tree | 5c34d25218ee315a944120aa8edb8af028791671 /include/linux/timerqueue.h | |
| parent | e67f88dd12f610da98ca838822f2c9b4e7c6100e (diff) | |
net/stmmac: Move "#include <linux/platform_device.h>" to linux/stmmac.h
stmmac.h uses struct platform_device and doesn't include
<linux/platform_device.h>. Whereas drivers/net/stmmac/stmmac.h includes it, but
doesn't directly use it. 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 linux/stmmac.h and removes it
from drivers/net/stmmac/stmmac.h
Signed-off-by: Viresh Kumar <[email protected]>
Acked-by: Giuseppe Cavallaro <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions