ath79: fix whitespace errors from adding D-Link DIR-842 C3
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 9 Aug 2019 12:19:51 +0000 (14:19 +0200)
committerDavid Bauer <mail@david-bauer.net>
Fri, 9 Aug 2019 15:08:46 +0000 (17:08 +0200)
We completely overlooked whitespace errors when reviewing
796ad2f7ef6f ("ath79: add support for D-Link DIR-842 C3").

Fix them and and also fix Makefile indent for C1/C2.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/base-files/etc/board.d/02_network
target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/ath79/image/generic.mk

index 466a0ee..99b9d42 100755 (executable)
@@ -131,7 +131,7 @@ ath79_setup_interfaces()
        dlink,dir-835-a1|\
        dlink,dir-842-c1|\
        dlink,dir-842-c2|\
-        dlink,dir-842-c3|\
+       dlink,dir-842-c3|\
        dlink,dir-859-a1|\
        engenius,epg5000|\
        tplink,archer-c2-v3|\
@@ -325,7 +325,7 @@ ath79_setup_macs()
                ;;
        dlink,dir-842-c1|\
        dlink,dir-842-c2|\
-        dlink,dir-842-c3|\
+       dlink,dir-842-c3|\
        dlink,dir-859-a1|\
        nec,wg1200cr|\
        wd,mynet-n750)
index 62d5324..ec597dd 100644 (file)
@@ -107,7 +107,7 @@ case "$FIRMWARE" in
                ;;
        dlink,dir-842-c1|\
        dlink,dir-842-c2|\
-        dlink,dir-842-c3|\
+       dlink,dir-842-c3|\
        dlink,dir-859-a1|\
        nec,wg1200cr|\
        wd,mynet-n750)
index 6f50a47..ebf5d6d 100644 (file)
@@ -193,7 +193,7 @@ case "$FIRMWARE" in
        case $board in
        dlink,dir-842-c1|\
        dlink,dir-842-c2|\
-        dlink,dir-842-c3|\
+       dlink,dir-842-c3|\
        nec,wg1200cr)
                ath10kcal_extract "art" 20480 12064
                ath10kcal_patch_mac_crc $(mtd_get_mac_ascii devdata wlan5mac)
index 149e4ed..1aa82a3 100644 (file)
@@ -425,23 +425,23 @@ define Device/dlink_dir-842-c
 endef
 
 define Device/dlink_dir-842-c1
-       $(Device/dlink_dir-842-c)
-       DEVICE_VARIANT := C1
-       DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
+  $(Device/dlink_dir-842-c)
+  DEVICE_VARIANT := C1
+  DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
 endef
 TARGET_DEVICES += dlink_dir-842-c1
 
 define Device/dlink_dir-842-c2
-       $(Device/dlink_dir-842-c)
-       DEVICE_VARIANT := C2
-       DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9888-ct
+  $(Device/dlink_dir-842-c)
+  DEVICE_VARIANT := C2
+  DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9888-ct
 endef
 TARGET_DEVICES += dlink_dir-842-c2
 
 define Device/dlink_dir-842-c3
-       $(Device/dlink_dir-842-c)
-       DEVICE_VARIANT := C3
-       DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
+  $(Device/dlink_dir-842-c)
+  DEVICE_VARIANT := C3
+  DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
 endef
 TARGET_DEVICES += dlink_dir-842-c3