# \[PATCH v3 2/7\] mach-aspeed: Select GPIO driver

- From: Joel Stanley \<joel@jms.id.au\>
- Date: 2016-09-13 12:44:06 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2016/09/4834977
- Thread: https://ratatoskr.run/linux-devicetree/2016/08/4824559/t.md

```text
On Tue, Aug 30, 2016 at 5:25 PM, Andrew Jeffery [ref] wrote:
> diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig
> index f3f8c5c658db..5aba9598f821 100644
> --- a/arch/arm/mach-aspeed/Kconfig
> +++ b/arch/arm/mach-aspeed/Kconfig
> @@ -7,6 +7,8 @@ menuconfig ARCH_ASPEED
>         select MOXART_TIMER
>         select MFD_SYSCON
>         select PINCTRL
> +       select GPIOLIB
> +       select GPIO_ASPEED

GPIO_ASPEED is a tristate, so if we select it in ARCH_ASPEED all users
of the driver will have it selected.

I think I will drop this patch so we still have the option of building
the gpio driver as a module. Otherwise, we should change the GPIO
driver to be built in.

Cheers,

Joel
```
