Re: linux-next: Tree for June 17 (pci/slot)

Randy Dunlap
2009-06-17T17:47:14Z

Jesse Barnes wrote:
> On Wed, 17 Jun 2009 10:36:04 -0600
> Matthew Wilcox <matthew@wil.cx> wrote:
>
>> On Wed, Jun 17, 2009 at 09:26:51AM -0700, Randy Dunlap wrote:
>>> Stephen Rothwell wrote:
>>>> Hi all,
>>>>
>>>> Changes since 20090616:
>>>
>>> When CONFIG_SYSFS=n:
>>>
>>> drivers/pci/slot.c:327: error: 'module_kset' undeclared (first use
>>> in this function)
>> Is there any point to pci_slot existing without CONFIG_SYSFS?
>> I don't see how you can interact with it in any meaningful way.
>> Perhaps CONFIG_PCI_SLOT should depend on CONFIG_SYSFS?
>
> I've got a code fix queued up, but maybe a Kconfig dependency is the
> way to go...

What is the code fix like?
The Kconfig fix makes sense to me.

--
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon