Skip to content
Commit ab28698d authored by Jonas Gorski's avatar Jonas Gorski Committed by Grant Likely
Browse files

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: default avatarJonas Gorski <jogo@openwrt.org>
Signed-off-by: default avatarRob Herring <robherring2@gmail.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 80c2022e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment