hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/linux/bcm47xx_sprom.h
....@@ -1,8 +1,5 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
2
- * This program is free software; you can redistribute it and/or modify it
3
- * under the terms of the GNU General Public License as published by the
4
- * Free Software Foundation; either version 2 of the License, or (at your
5
- * option) any later version.
63 */
74
85 #ifndef __BCM47XX_SPROM_H
....@@ -12,9 +9,19 @@
129 #include <linux/kernel.h>
1310 #include <linux/vmalloc.h>
1411
12
+struct ssb_sprom;
13
+
1514 #ifdef CONFIG_BCM47XX_SPROM
15
+void bcm47xx_fill_sprom(struct ssb_sprom *sprom, const char *prefix,
16
+ bool fallback);
1617 int bcm47xx_sprom_register_fallbacks(void);
1718 #else
19
+static inline void bcm47xx_fill_sprom(struct ssb_sprom *sprom,
20
+ const char *prefix,
21
+ bool fallback)
22
+{
23
+}
24
+
1825 static inline int bcm47xx_sprom_register_fallbacks(void)
1926 {
2027 return -ENOTSUPP;