]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - include/linux/bcm47xx_sprom.h
mtd: nand: complain loudly when chip->bits_per_cell is not correctly initialized
[karo-tx-linux.git] / include / linux / bcm47xx_sprom.h
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
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
16 int bcm47xx_sprom_register_fallbacks(void);
17 #else
18 static inline int bcm47xx_sprom_register_fallbacks(void)
19 {
20         return -ENOTSUPP;
21 };
22 #endif
23
24 #endif /* __BCM47XX_SPROM_H */