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