diff --git a/sys/dev/mmc/host/dwmmc.c b/sys/dev/mmc/host/dwmmc.c index 6e29fb9d10ad..3a4c5f3aa4e2 100644 --- a/sys/dev/mmc/host/dwmmc.c +++ b/sys/dev/mmc/host/dwmmc.c @@ -59,7 +59,7 @@ __FBSDID("$FreeBSD$"); #include #include -#include +#include #include "mmcbr_if.h" diff --git a/sys/dev/mmc/host/dwmmc.h b/sys/dev/mmc/host/dwmmc_reg.h similarity index 98% rename from sys/dev/mmc/host/dwmmc.h rename to sys/dev/mmc/host/dwmmc_reg.h index a075adbbf3ca..38ef09e20f0c 100644 --- a/sys/dev/mmc/host/dwmmc.h +++ b/sys/dev/mmc/host/dwmmc_reg.h @@ -30,6 +30,9 @@ * $FreeBSD$ */ +#ifndef DEV_MMC_HOST_DWMMC_REG_H +#define DEV_MMC_HOST_DWMMC_REG_H + #define SDMMC_CTRL 0x0 /* Control Register */ #define SDMMC_CTRL_USE_IDMAC (1 << 25) /* Use Internal DMAC */ #define SDMMC_CTRL_DMA_ENABLE (1 << 5) /* */ @@ -150,3 +153,5 @@ #define SDMMC_CLKSEL_SAMPLE_SHIFT 0 #define SDMMC_CLKSEL_DRIVE_SHIFT 16 #define SDMMC_CLKSEL_DIVIDER_SHIFT 24 + +#endif /* DEV_MMC_HOST_DWMMC_REG_H */