Skip to content

Commit 8c9beb1

Browse files
lyakhcjb
authored andcommitted
mmc: (cosmetic) remove "extern" from function declarations
The "extern" keyword isn't required in function declarations, remove it. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
1 parent 6c56e7a commit 8c9beb1

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

‎include/linux/mmc/host.h‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,10 @@ struct mmc_host {
364364
unsigned long private[0] ____cacheline_aligned;
365365
};
366366

367-
extern struct mmc_host *mmc_alloc_host(int extra, struct device *);
368-
extern int mmc_add_host(struct mmc_host *);
369-
extern void mmc_remove_host(struct mmc_host *);
370-
extern void mmc_free_host(struct mmc_host *);
367+
struct mmc_host *mmc_alloc_host(int extra, struct device *);
368+
int mmc_add_host(struct mmc_host *);
369+
void mmc_remove_host(struct mmc_host *);
370+
void mmc_free_host(struct mmc_host *);
371371
void mmc_of_parse(struct mmc_host *host);
372372

373373
static inline void *mmc_priv(struct mmc_host *host)
@@ -381,16 +381,16 @@ static inline void *mmc_priv(struct mmc_host *host)
381381
#define mmc_classdev(x) (&(x)->class_dev)
382382
#define mmc_hostname(x) (dev_name(&(x)->class_dev))
383383

384-
extern int mmc_suspend_host(struct mmc_host *);
385-
extern int mmc_resume_host(struct mmc_host *);
384+
int mmc_suspend_host(struct mmc_host *);
385+
int mmc_resume_host(struct mmc_host *);
386386

387-
extern int mmc_power_save_host(struct mmc_host *host);
388-
extern int mmc_power_restore_host(struct mmc_host *host);
387+
int mmc_power_save_host(struct mmc_host *host);
388+
int mmc_power_restore_host(struct mmc_host *host);
389389

390-
extern void mmc_detect_change(struct mmc_host *, unsigned long delay);
391-
extern void mmc_request_done(struct mmc_host *, struct mmc_request *);
390+
void mmc_detect_change(struct mmc_host *, unsigned long delay);
391+
void mmc_request_done(struct mmc_host *, struct mmc_request *);
392392

393-
extern int mmc_cache_ctrl(struct mmc_host *, u8);
393+
int mmc_cache_ctrl(struct mmc_host *, u8);
394394

395395
static inline void mmc_signal_sdio_irq(struct mmc_host *host)
396396
{

0 commit comments

Comments
 (0)