Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 100e9186 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Chris Ball
Browse files

mmc: Standardize header file inclusion checks.



Standardize the checks for multiple MMC header file inclusion,
including adding comments to terminating #endif's, and fixing
one incorrect comment.

Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 94cc6a86
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
#ifndef MMC_BOOT_H
#define MMC_BOOT_H
#ifndef LINUX_MMC_BOOT_H
#define LINUX_MMC_BOOT_H

enum { MMC_PROGRESS_ENTER, MMC_PROGRESS_INIT,
       MMC_PROGRESS_LOAD, MMC_PROGRESS_DONE };

#endif
#endif /* LINUX_MMC_BOOT_H */
+1 −1
Original line number Diff line number Diff line
@@ -403,4 +403,4 @@ extern void mmc_unregister_driver(struct mmc_driver *);
extern void mmc_fixup_device(struct mmc_card *card,
			     const struct mmc_fixup *table);

#endif
#endif /* LINUX_MMC_CARD_H */
+1 −1
Original line number Diff line number Diff line
@@ -179,4 +179,4 @@ static inline void mmc_claim_host(struct mmc_host *host)

extern u32 mmc_vddrange_to_ocrmask(int vdd_min, int vdd_max);

#endif
#endif /* LINUX_MMC_CORE_H */
+3 −3
Original line number Diff line number Diff line
@@ -11,8 +11,8 @@
 * (at your option) any later version.
 */

#ifndef _LINUX_MMC_DW_MMC_H_
#define _LINUX_MMC_DW_MMC_H_
#ifndef LINUX_MMC_DW_MMC_H
#define LINUX_MMC_DW_MMC_H

#define MAX_MCI_SLOTS	2

@@ -219,4 +219,4 @@ struct dw_mci_board {
	struct block_settings *blk_settings;
};

#endif /* _LINUX_MMC_DW_MMC_H_ */
#endif /* LINUX_MMC_DW_MMC_H */
+1 −2
Original line number Diff line number Diff line
@@ -373,5 +373,4 @@ static inline int mmc_host_cmd23(struct mmc_host *host)
{
	return host->caps & MMC_CAP_CMD23;
}
#endif
#endif /* LINUX_MMC_HOST_H */
Loading