From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756594Ab2DTChM (ORCPT ); Thu, 19 Apr 2012 22:37:12 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:64147 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756180Ab2DTChJ (ORCPT ); Thu, 19 Apr 2012 22:37:09 -0400 Date: Thu, 19 Apr 2012 19:37:04 -0700 From: Greg KH To: MyungJoo Ham Cc: Arnd Bergmann , LKML , NeilBrown , Randy Dunlap , Mike Lockwood , Arve =?iso-8859-1?Q?Hj=F8nnevag?= , Kyungmin Park , Linus Walleij , Dmitry Torokhov , Morten CHRISTIANSEN , Mark Brown , John Stultz , Joerg Roedel , myungjoo.ham@gmail.com, cw00.choi@samsung.com Subject: Re: [PATCH v8 1/6] Extcon (external connector): import Android's switch class and modify. Message-ID: <20120420023704.GA1399@kroah.com> References: <20120418214703.GA31606@kroah.com> <1334803298-24260-1-git-send-email-myungjoo.ham@samsung.com> <1334803298-24260-2-git-send-email-myungjoo.ham@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1334803298-24260-2-git-send-email-myungjoo.ham@samsung.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 19, 2012 at 11:41:33AM +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/. Oh come on, this still breaks the build, it is as if you didn't even test this at all, or modify anything since I reported it as a problem to you yesterday: 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 You can do better than this, I know you can. greg k-h