diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-02-07 17:04:25 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-02-07 17:14:31 +0100 |
commit | bf98ca3855f7d4a3823948e8626148f36a2f7e23 (patch) | |
tree | 25c0fd2bc9095cae692c94b9dc0351b88c628c6e /backport | |
parent | 9a04030825a6e990276402383ae6614e348286bb (diff) |
backports: add linux/gpio/driver.h
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport')
-rw-r--r-- | backport/backport-include/linux/gpio/driver.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/backport/backport-include/linux/gpio/driver.h b/backport/backport-include/linux/gpio/driver.h new file mode 100644 index 00000000..8df5c298 --- /dev/null +++ b/backport/backport-include/linux/gpio/driver.h @@ -0,0 +1,10 @@ +#ifndef __BP_GPIO_DRIVER_H +#define __BP_GPIO_DRIVER_H +#include <linux/version.h> +#if LINUX_VERSION_IS_LESS(3,13,0) +#include <asm-generic/gpio.h> +#else +#include_next <linux/gpio/driver.h> +#endif + +#endif /* __BP_GPIO_DRIVER_H */ |