1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 */ 3 */ 4 4 5 #ifndef __BCM47XX_SPROM_H 5 #ifndef __BCM47XX_SPROM_H 6 #define __BCM47XX_SPROM_H 6 #define __BCM47XX_SPROM_H 7 7 8 #include <linux/types.h> 8 #include <linux/types.h> 9 #include <linux/kernel.h> 9 #include <linux/kernel.h> 10 #include <linux/vmalloc.h> 10 #include <linux/vmalloc.h> 11 11 12 struct ssb_sprom; << 13 << 14 #ifdef CONFIG_BCM47XX_SPROM 12 #ifdef CONFIG_BCM47XX_SPROM 15 void bcm47xx_fill_sprom(struct ssb_sprom *spro << 16 bool fallback); << 17 int bcm47xx_sprom_register_fallbacks(void); 13 int bcm47xx_sprom_register_fallbacks(void); 18 #else 14 #else 19 static inline void bcm47xx_fill_sprom(struct s << 20 const ch << 21 bool fal << 22 { << 23 } << 24 << 25 static inline int bcm47xx_sprom_register_fallb 15 static inline int bcm47xx_sprom_register_fallbacks(void) 26 { 16 { 27 return -ENOTSUPP; 17 return -ENOTSUPP; 28 }; 18 }; 29 #endif 19 #endif 30 20 31 #endif /* __BCM47XX_SPROM_H */ 21 #endif /* __BCM47XX_SPROM_H */ 32 22
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.