Merge tag 'v5.15.57' into rpi-5.15.y
[platform/kernel/linux-rpi.git] / drivers / net / wireless / broadcom / brcm80211 / brcmfmac / of.h
1 // SPDX-License-Identifier: ISC
2 /*
3  * Copyright (c) 2014 Broadcom Corporation
4  */
5 #ifdef CONFIG_OF
6 void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type,
7                     struct brcmf_mp_device *settings);
8 struct brcmf_firmware_mapping *
9 brcmf_of_fwnames(struct device *dev, u32 *map_count);
10 #else
11 static void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type,
12                            struct brcmf_mp_device *settings)
13 {
14 }
15 static struct brcmf_firmware_mapping *
16 brcmf_of_fwnames(struct device *dev, u32 *map_count)
17 {
18         return NULL;
19 }
20 #endif /* CONFIG_OF */