]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci-esdhc-imx: add flag ESDHC_FLAG_USDHC
authorDong Aisheng <b29396@freescale.com>
Mon, 21 Oct 2013 07:23:31 +0000 (15:23 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:56:02 +0000 (09:56 +0800)
commit761dc2aa8dfa7253ec743956b63f4afcc8fa464d
treefaf7305119e47cef75a15847b2d2f03ba8c833eb
parenta8b9e4de23b96c6477352ecb7896ee0e8c6ec9ef
mmc: sdhci-esdhc-imx: add flag ESDHC_FLAG_USDHC

Add flag ESDHC_FLAG_USDHC to tell that the ESDHC is actually an USDHC
block, and replace the is_imx6q_usdhc() occurrences with inline function
esdhc_is_usdhc() which checks the flag.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/sdhci-esdhc-imx.c