diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2021-07-19 17:58:00 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2021-07-19 19:10:18 +0200 |
commit | 853e8465a7af2a13fa2ebf0354cce091ab63d44b (patch) | |
tree | b2d7f6d1895b3d42671203afd1ac2689588b7788 /target/linux/bcm63xx/patches-5.10/424-bcm63xx_enet_no_request_mem_region.patch | |
parent | 32adbfc789f6113fa6a297de71d36df32fcb8324 (diff) | |
download | upstream-853e8465a7af2a13fa2ebf0354cce091ab63d44b.tar.gz upstream-853e8465a7af2a13fa2ebf0354cce091ab63d44b.tar.bz2 upstream-853e8465a7af2a13fa2ebf0354cce091ab63d44b.zip |
ath10k: fix compilation error with CONFIG_OF not available
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>
Diffstat (limited to 'target/linux/bcm63xx/patches-5.10/424-bcm63xx_enet_no_request_mem_region.patch')
0 files changed, 0 insertions, 0 deletions