diff options
Diffstat (limited to 'backport-include/linux/gpio/driver.h')
-rw-r--r-- | backport-include/linux/gpio/driver.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/backport-include/linux/gpio/driver.h b/backport-include/linux/gpio/driver.h new file mode 100644 index 0000000..8df5c29 --- /dev/null +++ b/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 */ |