Subject: Re: [PATCH -next] input: serio_libps2 depends on serio_i8042

From: Dmitry Torokhov <[email-masked]>
Date: Fri, 25 Sep 2009 15:29:02 -0700

On Fri, Sep 25, 2009 at 03:20:09PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <[email-masked]>
> 
> SERIO_LIBPS2 code uses SERIO_I8042 code, so the former
> needs to depend on the latter.
>

Umm, it should be useable without i8042... But I guess you have
SERIO_LIBPS2=y but SERIO_I8042=m?

> (.text+0x1f33ca): undefined reference to `i8042_check_port_owner'
> (.text+0x1f33de): undefined reference to `i8042_unlock_chip'
> (.text+0x1f3435): undefined reference to `i8042_check_port_owner'
> (.text+0x1f3449): undefined reference to `i8042_lock_chip
> 
> Signed-off-by: Randy Dunlap <[email-masked]>
> ---
>  drivers/input/serio/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-next-20090925.orig/drivers/input/serio/Kconfig
> +++ linux-next-20090925/drivers/input/serio/Kconfig
> @@ -168,6 +168,7 @@ config SERIO_MACEPS2
>  
>  config SERIO_LIBPS2
>  	tristate "PS/2 driver library" if EMBEDDED
> +	depends on SERIO_I8042
>  	help
>  	  Say Y here if you are using a driver for device connected
>  	  to a PS/2 port, such as PS/2 mouse or standard AT keyboard.

-- 
Dmitry