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

From: David Miller
Date: Wed Oct 13 2010 - 12:54:15 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/