ath79: rename references of UniFi to UniFi AP
extract the compatible and model to make room for other variants
follow-up of
commit dc23df8a8c
("ath79: change Ubiquiti UniFi AP model name to include "AP"")
Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
This commit is contained in:
parent
2293f1abe4
commit
50e1f3d84d
8
target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dts
Normal file
8
target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dts
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||||
|
|
||||||
|
#include "ar7241_ubnt_unifi-ap.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
compatible = "ubnt,unifi", "qca,ar7241";
|
||||||
|
model = "Ubiquiti UniFi AP";
|
||||||
|
};
|
|
@ -3,9 +3,6 @@
|
||||||
#include "ar7241_ubnt_unifi.dtsi"
|
#include "ar7241_ubnt_unifi.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "ubnt,unifi", "qca,ar7241";
|
|
||||||
model = "Ubiquiti UniFi AP";
|
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
led-boot = &led_dome_green;
|
led-boot = &led_dome_green;
|
||||||
led-failsafe = &led_dome_green;
|
led-failsafe = &led_dome_green;
|
|
@ -210,12 +210,12 @@ define Device/ubnt_routerstation-pro
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ubnt_routerstation-pro
|
TARGET_DEVICES += ubnt_routerstation-pro
|
||||||
|
|
||||||
define Device/ubnt_unifi
|
define Device/ubnt_unifi-ap
|
||||||
$(Device/ubnt-bz)
|
$(Device/ubnt-bz)
|
||||||
DEVICE_MODEL := UniFi AP
|
DEVICE_MODEL := UniFi AP
|
||||||
SUPPORTED_DEVICES += unifi
|
SUPPORTED_DEVICES += unifi ubnt,unifi
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ubnt_unifi
|
TARGET_DEVICES += ubnt_unifi-ap
|
||||||
|
|
||||||
define Device/ubnt_unifiac
|
define Device/ubnt_unifiac
|
||||||
DEVICE_VENDOR := Ubiquiti
|
DEVICE_VENDOR := Ubiquiti
|
||||||
|
|
Loading…
Reference in New Issue
Block a user