apm821xx: wndr4700: restore sd-card media detection

This was not converted to the new, dt-based board name.

Fixes: e90dc8d272 ("apm821xx: convert to device-tree board detection")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
Christian Lamparter 2018-10-14 23:53:56 +02:00 committed by John Crispin
parent a2266a6d42
commit 5d5c0b0582

View file

@ -4,7 +4,7 @@
BOARD=$(board_name) BOARD=$(board_name)
if [ $BOARD == "wndr4700" ]; then if [ $BOARD == "netgear,wndr4700" ]; then
case "$ACTION" in case "$ACTION" in
released) released)
rmmod dwc2 rmmod dwc2