mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-23 13:21:11 +01:00
of_platform_device_create require CONFIG_OF selected.
Add an ifdef and register to the of platform only if of is available.
Fixes: 985954ccbd11 ("kernel: add ath10k support for of_get_mac_address")
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>