From patchwork Wed Feb 6 19:46:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2106411 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 6B4EC3FCFC for ; Wed, 6 Feb 2013 19:47:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756893Ab3BFTrO (ORCPT ); Wed, 6 Feb 2013 14:47:14 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:63861 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757989Ab3BFTrK (ORCPT ); Wed, 6 Feb 2013 14:47:10 -0500 Received: from axis700.grange (dslb-178-006-240-079.pools.arcor-ip.net [178.6.240.79]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MN728-1U0y1o3fR2-006pDa; Wed, 06 Feb 2013 20:47:05 +0100 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id 7547040B9C; Wed, 6 Feb 2013 20:47:04 +0100 (CET) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1U3AxU-0004qA-C2; Wed, 06 Feb 2013 20:47:04 +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 , Guennadi Liakhovetski Subject: [PATCH v3 04/13] mmc: (cosmetic) remove "extern" from function declarations Date: Wed, 6 Feb 2013 20:46:51 +0100 Message-Id: <1360180020-18555-5-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1360180020-18555-1-git-send-email-g.liakhovetski@gmx.de> References: <1360180020-18555-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:C8ntqgQzoATTr2dn27iHtOLpyqsZgC1UzF/7hyEXOzi MfdqJ9oBnqkqgc4CVf0f8N+huPTyTlW7ZfAGmK49roSOXxKXoB /UQaEIcQhwM2okRIZRl7h7TkOurdpee96uuKuxVv8Y6fLYYC9B s2iHF9itD8LyrLVXxCBJm+rtzzyDl5wgmtS/DXkH99D51qSeew ZBAVUmk6wHvRYAkSBD4Z44bqWtu42qbfRLmSJo4ujky/C7U3cf y5Ochf7cw13Tr6UdPfIq+kXnBHSuoJ0H5ABdpjO97y0u83CVqU azX77Bu6RkNhcju3SU6JWMQP2+2fA4ZcFQbd5yvCyilKew36rK 0aWevV7qaVf3eYZVs7EyGUoKLREKW55mTciT8YK4ouskbtJYr0 qejOyoKrdQmXw== 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) {