diff options
author | Jonas Gorski <jogo@openwrt.org> | 2012-12-19 10:10:09 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-12-19 11:15:17 -0500 |
commit | ab28698d33af05abab0bcf8021eafe38f7434f24 (patch) | |
tree | a8f357f0352f4dc7408bfc16d88664783d2b5f4d /drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c | |
parent | 80c2022e5645a1a789531d13010292c5c18bf1db (diff) |
of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS
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 <jogo@openwrt.org>
Signed-off-by: Rob Herring <robherring2@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c')
0 files changed, 0 insertions, 0 deletions