blob: c06b47c84e1a356f8d1db7135df6e61b299f3bdd [file] [log] [blame]
Rafał Miłecki2ab71a02016-01-25 09:50:29 +01001/*
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
8#ifndef __BCM47XX_SPROM_H
9#define __BCM47XX_SPROM_H
10
11#include <linux/types.h>
12#include <linux/kernel.h>
13#include <linux/vmalloc.h>
14
15#ifdef CONFIG_BCM47XX_SPROM
16int bcm47xx_sprom_register_fallbacks(void);
17#else
18static inline int bcm47xx_sprom_register_fallbacks(void)
19{
20 return -ENOTSUPP;
21};
22#endif
23
24#endif /* __BCM47XX_SPROM_H */