mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-10 12:49:30 -04:00
of_platform_device_create require CONFIG_OF selected.
Add an ifdef and register to the of platform only if of is available.
Fixes: 985954ccbd ("kernel: add ath10k support for of_get_mac_address")
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>