From patchwork Wed Jan 23 15:32:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2025481 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 2481C3FD86 for ; Wed, 23 Jan 2013 15:40:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756184Ab3AWPkU (ORCPT ); Wed, 23 Jan 2013 10:40:20 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:65517 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754634Ab3AWPkS (ORCPT ); Wed, 23 Jan 2013 10:40:18 -0500 Received: from axis700.grange (dslb-178-006-250-035.pools.arcor-ip.net [178.6.250.35]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0Lyh3D-1V4DRw1SMx-015i7y; Wed, 23 Jan 2013 16:40:16 +0100 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id A4A2340B9D; Wed, 23 Jan 2013 16:40:14 +0100 (CET) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1Ty2Qw-0000Pj-BD; Wed, 23 Jan 2013 16:40:14 +0100 From: Guennadi Liakhovetski To: linux-mmc@vger.kernel.org Cc: linux-sh@vger.kernel.org, Magnus Damm , Chris Ball , Guennadi Liakhovetski Subject: [PATCH v2 04/11] mmc: (cosmetic) remove "extern" from function declarations Date: Wed, 23 Jan 2013 16:32:31 +0100 Message-Id: <1358955158-1510-5-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1358955158-1510-1-git-send-email-g.liakhovetski@gmx.de> References: <1358955158-1510-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:PxS2TT3lMmvBa4RfnT9B1yFB2z/S3dPXqFn4PaRZFjr E4Lq27cOKadfL+/uMD2pa09KLWxUqCRx6q5l5puKmItCYZ3WkB vkszYvqqBBvVCTVEVRzXx1VRCRXx3dtsMLZMGGYltZ97KCO4Vn cAJ8dbLnkPqQeQP3wHCkcwbwomc+I93+axX9i9iYm0Hktj9K3e ScjSLmQertScyzve1Ji2RiOYGuYHgL1ZyLyk3sEJ+nTqjd2XAy Rp8wXhpc/gOKhDq0+nB43HELyPvCW5JAUbzsSVdxzst0ruuIRG 4uelWkJwCipDLAbqGP6HUm6BNXGFnxaCO9XfXa0j0o2RY1Dv41 N/+GL9Fq6Uqf/tYkXe7ofS1ASoAozHzvXETawON8CnpVISNgeP A8+XceQv/2OaA== 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) {