blob: b0f4424f34fc6d66d219849af15b402331e441ea [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00003 */
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
13int bcm47xx_sprom_register_fallbacks(void);
14#else
15static inline int bcm47xx_sprom_register_fallbacks(void)
16{
17 return -ENOTSUPP;
18};
19#endif
20
21#endif /* __BCM47XX_SPROM_H */