diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-02-07 14:12:31 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-02-07 15:07:21 +0100 |
commit | d3c43a8e6cf88a7b93977b014c434841c3c4b826 (patch) | |
tree | cfbdc0a4a6df8d6b334e823c9052dd244e226cf3 /backport | |
parent | 8f3ab95cb6a69c111c92ed980a351882fee7963b (diff) |
backports: include of_device.h into of_platform.h
Upstream does this now, and people rely on it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport')
-rw-r--r-- | backport/backport-include/linux/of_platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backport/backport-include/linux/of_platform.h b/backport/backport-include/linux/of_platform.h index 3d83f4a5..5d422b17 100644 --- a/backport/backport-include/linux/of_platform.h +++ b/backport/backport-include/linux/of_platform.h @@ -3,6 +3,8 @@ #include_next <linux/of_platform.h> #include <linux/version.h> #include <linux/of.h> +/* upstream now includes this here and some people rely on it */ +#include <linux/of_device.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0) && !defined(CONFIG_OF_DEVICE) struct of_dev_auxdata; |