# \[PATCH\] ARM: vexpress: register platform PATA device.

- From: Nick Bowler \<hidden\>
- Date: 2011-01-10 21:16:35 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2011/01/3664053
- Thread: https://ratatoskr.run/linux-arm-kernel/2011/01/3663298/t.md

```text
On 2011-01-07 22:43 +0000, Russell King - ARM Linux wrote:
> On Fri, Jan 07, 2011 at 04:24:05PM -0500, Nick Bowler wrote:
> > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> > index d56d21c..ee61039 100644
> > --- a/arch/arm/Kconfig
> > +++ b/arch/arm/Kconfig
> > @@ -264,6 +264,7 @@ config ARCH_VEXPRESS
> >  	select HAVE_CLK
> >  	select ICST
> >  	select PLAT_VERSATILE
> > +	select HAVE_PATA_PLATFORM
> 
> To avoid the Kconfig warning, this should be:
> 
> 	select HAVE_PATA_PLATFORM if ATA
> 
> or it needs to be moved outside of the if ATA ... endif block in
> drivers/ata/Kconfig.

The Kconfig dependency fix was merged into mainline today, so this patch
should no longer trigger the aforementioned warning.

-- 
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
```
