kernel: fallback-sprom: create separate header files

Create a separate header files fallback-sprom.h
for BCMA and SSB Fallback SPROM Driver
to add function prototypes to fallback-sprom.c as well.
This prevents missing function prototype errors.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/17138
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Mieczyslaw Nalewaj
2024-12-01 19:17:13 +01:00
committed by Robert Marko
parent 1b6f7ec679
commit 22d2aa65e8
5 changed files with 33 additions and 22 deletions

View File

@@ -0,0 +1,7 @@
#ifndef _FALLBACK_SPROM_H
#define _FALLBACK_SPROM_H
int __init bcma_fbs_register(void);
int bcma_get_fallback_sprom(struct bcma_bus *dev, struct ssb_sprom *out);
#endif /* _FALLBACK_SPROM_H */