Subject: Re: linux-next: Tree for October 13 (net/3c59x)

From: David Miller <[email-masked]>
Date: Wed, 13 Oct 2010 09:54:32 -0700 (PDT)

From: Randy Dunlap <[email-masked]>
Date: Wed, 13 Oct 2010 09:38:36 -0700

> On Wed, 13 Oct 2010 15:45:22 +1100 Stephen Rothwell wrote:
> 
>> Hi all,
>> 
>> Changes since 20101012:
> 
> 
> when CONFIG_PCI is not enabled:
> 
> drivers/net/3c59x.c:3211: error:request for member 'current_state' in something not a structure or union

Like all the other PCI interfaces that NOP out into empty inlines when
CONFIG_PCI is not enabled, it would be nice to have an interface that
provides pci_dev->current_state in a similar fashion so we don't have
to add a bunch of ifdefs here.