Skip to content

Commit

Permalink
gpio: da905x: Include proper header
Browse files Browse the repository at this point in the history
These drivers has no business including <linux/gpio.h>, they
are drivers so include <linux/gpio/driver.h>.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
linusw committed Jan 14, 2018
1 parent 326a292 commit 45e8bd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpio/gpio-da9052.c
Expand Up @@ -15,7 +15,7 @@
#include <linux/fs.h>
#include <linux/uaccess.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/gpio/driver.h>
#include <linux/syscalls.h>
#include <linux/seq_file.h>

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpio/gpio-da9055.c
Expand Up @@ -13,7 +13,7 @@
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/gpio/driver.h>

#include <linux/mfd/da9055/core.h>
#include <linux/mfd/da9055/reg.h>
Expand Down

0 comments on commit 45e8bd9

Please sign in to comment.