bcm47xx_sprom.h 600 B

123456789101112131415161718192021222324
  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. */
  7. #ifndef __BCM47XX_SPROM_H
  8. #define __BCM47XX_SPROM_H
  9. #include <linux/types.h>
  10. #include <linux/kernel.h>
  11. #include <linux/vmalloc.h>
  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. #endif /* __BCM47XX_SPROM_H */