2019-05-27 14:55:01 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2016-01-25 16:50:29 +08:00
|
|
|
/*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __BCM47XX_SPROM_H
|
|
|
|
#define __BCM47XX_SPROM_H
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/kernel.h>
|
|
|
|
#include <linux/vmalloc.h>
|
|
|
|
|
|
|
|
#ifdef CONFIG_BCM47XX_SPROM
|
|
|
|
int bcm47xx_sprom_register_fallbacks(void);
|
|
|
|
#else
|
|
|
|
static inline int bcm47xx_sprom_register_fallbacks(void)
|
|
|
|
{
|
|
|
|
return -ENOTSUPP;
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __BCM47XX_SPROM_H */
|