Linux 4.19-rc7
[linux-2.6/btrfs-unstable.git] / include / linux / bcm47xx_sprom.h
blobc06b47c84e1a356f8d1db7135df6e61b299f3bdd
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.
6 */
8 #ifndef __BCM47XX_SPROM_H
9 #define __BCM47XX_SPROM_H
11 #include <linux/types.h>
12 #include <linux/kernel.h>
13 #include <linux/vmalloc.h>
15 #ifdef CONFIG_BCM47XX_SPROM
16 int bcm47xx_sprom_register_fallbacks(void);
17 #else
18 static inline int bcm47xx_sprom_register_fallbacks(void)
20 return -ENOTSUPP;
22 #endif
24 #endif /* __BCM47XX_SPROM_H */