Subject: Re: linux-next: Tree for Jun 14 (staging/comedi)

From: Ian Abbott <[email-masked]>
Date: Fri, 15 Jun 2012 12:24:58 +0100

On 2012-06-14 22:38, Randy Dunlap wrote:
> On 06/13/2012 11:29 PM, Stephen Rothwell wrote:
>
>> Hi all,
>>
>> Changes since 20120613:
>
>
>
> when CONFIG_PCMCIA is not enabled:
>
> ERROR: "pcmcia_unregister_driver" [drivers/staging/comedi/drivers/ni_labpc_cs.ko] undefined!
> ERROR: "pcmcia_register_driver" [drivers/staging/comedi/drivers/ni_labpc_cs.ko] undefined!
> ERROR: "pcmcia_enable_device" [drivers/staging/comedi/drivers/ni_labpc_cs.ko] undefined!
> ERROR: "pcmcia_loop_config" [drivers/staging/comedi/drivers/ni_labpc_cs.ko] undefined!
> ERROR: "pcmcia_request_io" [drivers/staging/comedi/drivers/ni_labpc_cs.ko] undefined!
> ERROR: "pcmcia_disable_device" [drivers/staging/comedi/drivers/ni_labpc_cs.ko] undefined!
> ERROR: "pcmcia_unregister_driver" [drivers/staging/comedi/drivers/ni_daq_700.ko] undefined!
> ERROR: "pcmcia_register_driver" [drivers/staging/comedi/drivers/ni_daq_700.ko] undefined!
> ERROR: "pcmcia_enable_device" [drivers/staging/comedi/drivers/ni_daq_700.ko] undefined!
> ERROR: "pcmcia_loop_config" [drivers/staging/comedi/drivers/ni_daq_700.ko] undefined!
> ERROR: "pcmcia_request_io" [drivers/staging/comedi/drivers/ni_daq_700.ko] undefined!
> ERROR: "pcmcia_disable_device" [drivers/staging/comedi/drivers/ni_daq_700.ko] undefined!
>
>
> Full randconfig file is attached.

This seems to be caused by this commit in the linux-next repository:

4829a9967dbe3a3ab192df0bfdde281960cc1319 is the first bad commit
commit 4829a9967dbe3a3ab192df0bfdde281960cc1319
Author: H Hartley Sweeten <[email-masked]>
Date:   Tue Jun 12 17:37:10 2012 -0700

     staging: comedi: Kconfig: cleanup depends on logic

     All of the config options for comedi depend on COMEDI being
     selected. Wrap everything in an 'if COMEDI/endif' block and
     remove all the individual 'depends on COMEDI' in the Kconfig.

     Also, remove the redundant && ISA/PCI/PCMCIA/USB for the if
     blocks with those driver types.

     Signed-off-by: H Hartley Sweeten <[email-masked]>
     Cc: Ian Abbott <[email-masked]>
     Cc: Frank Mori Hess <[email-masked]>
     Signed-off-by: Greg Kroah-Hartman <[email-masked]>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <[email-masked]>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-