From 2758dd332cfb853a723913aca25a9003026da908 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 9 Aug 2019 14:19:51 +0200 Subject: [PATCH] ath79: fix whitespace errors from adding D-Link DIR-842 C3 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 --- .../ath79/base-files/etc/board.d/02_network | 4 ++-- .../etc/hotplug.d/firmware/10-ath9k-eeprom | 2 +- .../etc/hotplug.d/firmware/11-ath10k-caldata | 2 +- target/linux/ath79/image/generic.mk | 18 +++++++++--------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index 466a0ee684..99b9d421f4 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -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) diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index 62d53248bc..ec597dd1d4 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -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) diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 6f50a47271..ebf5d6d390 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -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) diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk index 149e4ed300..1aa82a3a4a 100644 --- a/target/linux/ath79/image/generic.mk +++ b/target/linux/ath79/image/generic.mk @@ -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 -- 2.30.2