From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from co1outboundpool.messaging.microsoft.com (co1ehsobe003.messaging.microsoft.com [216.32.180.186]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id CDBB62C009D for ; Tue, 14 Aug 2012 22:27:25 +1000 (EST) From: Tabi Timur-B04825 To: Zhao Chenhui-B35336 Subject: Re: [PATCH 2/4] fsl_pmc: Add API to enable device as wakeup event source Date: Tue, 14 Aug 2012 12:27:17 +0000 Message-ID: <502A4424.80000@freescale.com> References: <1344329006-10645-1-git-send-email-chenhui.zhao@freescale.com> <1344329006-10645-2-git-send-email-chenhui.zhao@freescale.com> <20120814100141.GB21028@localhost.localdomain> In-Reply-To: <20120814100141.GB21028@localhost.localdomain> Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Cc: "linux-kernel@vger.kernel.org" , Li Yang-R58472 , "linuxppc-dev@lists.ozlabs.org" , Zhao Chenhui-B35336 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Zhao Chenhui wrote: >>> > >+#ifdef CONFIG_FSL_PMC >>> > >+extern int mpc85xx_pmc_set_wake(struct device *dev, bool enable); >>> > >+extern void mpc85xx_pmc_set_lossless_ethernet(int enable); >> > >> >Don't use 'extern' for functions. >> > > Why? I think there is no difference. It's unnecessary, and it makes the line longer. --=20 Timur Tabi Linux kernel developer at Freescale=