From patchwork Fri Feb 15 15:13:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2148351 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 3057A3FDF1 for ; Fri, 15 Feb 2013 15:14:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755696Ab3BOPOQ (ORCPT ); Fri, 15 Feb 2013 10:14:16 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:54833 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755718Ab3BOPOO (ORCPT ); Fri, 15 Feb 2013 10:14:14 -0500 Received: from axis700.grange (dslb-188-109-033-039.pools.arcor-ip.net [188.109.33.39]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0LxLzO-1Uyud703nG-017CMq; Fri, 15 Feb 2013 16:14:11 +0100 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id 135FB40B9D; Fri, 15 Feb 2013 16:14:10 +0100 (CET) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1U6MzJ-0004ji-Ny; Fri, 15 Feb 2013 16:14:09 +0100 From: Guennadi Liakhovetski To: linux-mmc@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org, linux-sh@vger.kernel.org, Magnus Damm , Simon Horman , Arnd Bergmann , Guennadi Liakhovetski Subject: [PATCH v4 04/13] mmc: (cosmetic) remove "extern" from function declarations Date: Fri, 15 Feb 2013 16:13:53 +0100 Message-Id: <1360941242-18153-5-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1360941242-18153-1-git-send-email-g.liakhovetski@gmx.de> References: <1360941242-18153-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:AxAYF79xAfILJ0lOjBVXEQfeUjl/9X57w4taRDsI9ZT qWWhggaSoTAX8NHpi8Dmc68V4P6CSNJxFqItQBjUmpnK9fR59x sdG4oSUqGegtHtzL7Jz+2mLAqxRKlgWDsu9FonfNSY60Q5wasA zXlzbjn16LnQAoxEtLhE6/H7Xy/q38FiWUj3Jvjhv/GYTPOKFL 050wE9XRpSuNoqRqj68HjYK8oGDGdAaW/RjJuSl5MRpGEIXzGA s2DDFOXYihxZPJxdTp2h0EzhPaebvYOTIBV0l3neCYbcBlHLrt A4t+e7JuztGdFtScNmxwbNpvL3I1HuM/z1Tc5cmOiIFIALliua Lc1n64X2alMU2kDY08vi0/Ing061eGdJ942eJO0xZOENm9y6N/ 6TQ5M8kkGW4yQ== Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The "extern" keyword isn't required in function declarations, remove it. Signed-off-by: Guennadi Liakhovetski --- include/linux/mmc/host.h | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 13c0c8d..356ae0a 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -341,10 +341,10 @@ struct mmc_host { unsigned long private[0] ____cacheline_aligned; }; -extern struct mmc_host *mmc_alloc_host(int extra, struct device *); -extern int mmc_add_host(struct mmc_host *); -extern void mmc_remove_host(struct mmc_host *); -extern void mmc_free_host(struct mmc_host *); +struct mmc_host *mmc_alloc_host(int extra, struct device *); +int mmc_add_host(struct mmc_host *); +void mmc_remove_host(struct mmc_host *); +void mmc_free_host(struct mmc_host *); void mmc_of_parse(struct mmc_host *host); static inline void *mmc_priv(struct mmc_host *host) @@ -358,16 +358,16 @@ static inline void *mmc_priv(struct mmc_host *host) #define mmc_classdev(x) (&(x)->class_dev) #define mmc_hostname(x) (dev_name(&(x)->class_dev)) -extern int mmc_suspend_host(struct mmc_host *); -extern int mmc_resume_host(struct mmc_host *); +int mmc_suspend_host(struct mmc_host *); +int mmc_resume_host(struct mmc_host *); -extern int mmc_power_save_host(struct mmc_host *host); -extern int mmc_power_restore_host(struct mmc_host *host); +int mmc_power_save_host(struct mmc_host *host); +int mmc_power_restore_host(struct mmc_host *host); -extern void mmc_detect_change(struct mmc_host *, unsigned long delay); -extern void mmc_request_done(struct mmc_host *, struct mmc_request *); +void mmc_detect_change(struct mmc_host *, unsigned long delay); +void mmc_request_done(struct mmc_host *, struct mmc_request *); -extern int mmc_cache_ctrl(struct mmc_host *, u8); +int mmc_cache_ctrl(struct mmc_host *, u8); static inline void mmc_signal_sdio_irq(struct mmc_host *host) {