@@ -648,24 +648,22 @@ static inline u8 sdhci_readb(struct sdhci_host *host, int reg)
648
648
649
649
#endif /* CONFIG_MMC_SDHCI_IO_ACCESSORS */
650
650
651
- extern struct sdhci_host * sdhci_alloc_host (struct device * dev ,
652
- size_t priv_size );
653
- extern void sdhci_free_host (struct sdhci_host * host );
651
+ struct sdhci_host * sdhci_alloc_host (struct device * dev , size_t priv_size );
652
+ void sdhci_free_host (struct sdhci_host * host );
654
653
655
654
static inline void * sdhci_priv (struct sdhci_host * host )
656
655
{
657
656
return host -> private ;
658
657
}
659
658
660
- extern void sdhci_card_detect (struct sdhci_host * host );
661
- extern void __sdhci_read_caps (struct sdhci_host * host , u16 * ver , u32 * caps ,
662
- u32 * caps1 );
663
- extern int sdhci_setup_host (struct sdhci_host * host );
664
- extern int __sdhci_add_host (struct sdhci_host * host );
665
- extern int sdhci_add_host (struct sdhci_host * host );
666
- extern void sdhci_remove_host (struct sdhci_host * host , int dead );
667
- extern void sdhci_send_command (struct sdhci_host * host ,
668
- struct mmc_command * cmd );
659
+ void sdhci_card_detect (struct sdhci_host * host );
660
+ void __sdhci_read_caps (struct sdhci_host * host , u16 * ver , u32 * caps ,
661
+ u32 * caps1 );
662
+ int sdhci_setup_host (struct sdhci_host * host );
663
+ int __sdhci_add_host (struct sdhci_host * host );
664
+ int sdhci_add_host (struct sdhci_host * host );
665
+ void sdhci_remove_host (struct sdhci_host * host , int dead );
666
+ void sdhci_send_command (struct sdhci_host * host , struct mmc_command * cmd );
669
667
670
668
static inline void sdhci_read_caps (struct sdhci_host * host )
671
669
{
@@ -691,11 +689,11 @@ void sdhci_set_uhs_signaling(struct sdhci_host *host, unsigned timing);
691
689
int sdhci_execute_tuning (struct mmc_host * mmc , u32 opcode );
692
690
693
691
#ifdef CONFIG_PM
694
- extern int sdhci_suspend_host (struct sdhci_host * host );
695
- extern int sdhci_resume_host (struct sdhci_host * host );
696
- extern void sdhci_enable_irq_wakeups (struct sdhci_host * host );
697
- extern int sdhci_runtime_suspend_host (struct sdhci_host * host );
698
- extern int sdhci_runtime_resume_host (struct sdhci_host * host );
692
+ int sdhci_suspend_host (struct sdhci_host * host );
693
+ int sdhci_resume_host (struct sdhci_host * host );
694
+ void sdhci_enable_irq_wakeups (struct sdhci_host * host );
695
+ int sdhci_runtime_suspend_host (struct sdhci_host * host );
696
+ int sdhci_runtime_resume_host (struct sdhci_host * host );
699
697
#endif
700
698
701
699
void sdhci_dumpregs (struct sdhci_host * host );
0 commit comments