Thomas Gleixner | 2874c5f | 2019-05-27 08:55:01 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Rafał Miłecki | 2ab71a0 | 2016-01-25 09:50:29 +0100 | [diff] [blame] | 2 | /* |
Rafał Miłecki | 2ab71a0 | 2016-01-25 09:50:29 +0100 | [diff] [blame] | 3 | */ |
| 4 | |
| 5 | #ifndef __BCM47XX_SPROM_H |
| 6 | #define __BCM47XX_SPROM_H |
| 7 | |
| 8 | #include <linux/types.h> |
| 9 | #include <linux/kernel.h> |
| 10 | #include <linux/vmalloc.h> |
| 11 | |
| 12 | #ifdef CONFIG_BCM47XX_SPROM |
| 13 | int bcm47xx_sprom_register_fallbacks(void); |
| 14 | #else |
| 15 | static inline int bcm47xx_sprom_register_fallbacks(void) |
| 16 | { |
| 17 | return -ENOTSUPP; |
| 18 | }; |
| 19 | #endif |
| 20 | |
| 21 | #endif /* __BCM47XX_SPROM_H */ |