Re: [PATCH v7 1/6] Extcon (external connector): import Android'sswitch class and modify.

From: Greg KH
Date: Wed Apr 18 2012 - 17:47:07 EST


On Fri, Mar 23, 2012 at 05:52:58PM +0900, MyungJoo Ham wrote:
> External connector class (extcon) is based on and an extension of
> Android kernel's switch class located at linux/drivers/switch/.

<snip>

This patch breaks the build:
drivers/extcon/extcon_class.c:79:6: error: redefinition of âextcon_set_stateâ
include/linux/extcon.h:80:20: note: previous definition of âextcon_set_stateâ was here
drivers/extcon/extcon_class.c:170:5: error: redefinition of âextcon_dev_registerâ
include/linux/extcon.h:67:19: note: previous definition of âextcon_dev_registerâ was here
drivers/extcon/extcon_class.c:214:6: error: redefinition of âextcon_dev_unregisterâ
include/linux/extcon.h:73:20: note: previous definition of âextcon_dev_unregisterâ was here

So it obviously can't be applied to the tree :(

Did you test it?

Care to redo this series and send it again?

greg k-h
--
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/