gpio: max730x: Use the right include

<linux/spi/max7301.h> despite the placement of the header, is
used by drivers/gpio/gpio-max730*.

The include needs struct gpio_chip and needs to include
<linux/gpio/driver.h> not the legacy <linux/gpio.h> include.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
Linus Walleij
2021-08-21 00:58:21 +02:00
committed by Bartosz Golaszewski
parent 3a29355a22
commit e5e26d8084

View File

@@ -2,7 +2,7 @@
#ifndef LINUX_SPI_MAX7301_H
#define LINUX_SPI_MAX7301_H
#include <linux/gpio.h>
#include <linux/gpio/driver.h>
/*
* Some registers must be read back to modify.