mmc: arm_pl180_mmci: Sync compatible with kernel
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 5 Dec 2018 13:04:32 +0000 (14:04 +0100)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 23 Apr 2019 13:31:30 +0000 (15:31 +0200)
commit6f41d1a17e20fcc99329c2001d465945fca447a1
tree83f15e93ea91648239934e4d453c51d03f5c7438
parentdd18df440ae1802ca51aa4995f508fe350b1f46d
mmc: arm_pl180_mmci: Sync compatible with kernel

Initially the compatible string was wrongly set to "st,stm32f4xx-sdio".
Use compatible string used by kernel instead and identify mmci variant
using "arm,primecell-periphid" property.

Currently, the DM part of mmci driver is only used by STM32 SoCs,
that's why the switch case gets only one entry. It will be populated
easily with new variant in the future.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/mmc/arm_pl180_mmci.c
drivers/mmc/arm_pl180_mmci.h