Skip to content

Commit 38583fa

Browse files
committed
bcm47xx: 6.12: fix no previous prototype error
Add patch to fix protype build errors Signed-off-by: Kyle Hendry <kylehendrydev@gmail.com>
1 parent 7b80f83 commit 38583fa

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
--- a/drivers/bcma/driver_chipcommon_sflash.c
2+
+++ b/drivers/bcma/driver_chipcommon_sflash.c
3+
@@ -93,7 +93,7 @@ static void bcma_sflash_cmd(struct bcma_
4+
bcma_err(cc->core->bus, "SFLASH control command failed (timeout)!\n");
5+
}
6+
7+
-const struct bcma_sflash_tbl_e *bcma_sflash_shrink_flash(u32 id)
8+
+static const struct bcma_sflash_tbl_e *bcma_sflash_shrink_flash(u32 id)
9+
{
10+
enum bcm47xx_board board = bcm47xx_board_get();
11+
const struct bcma_sflash_tbl_e *e;
12+
--- a/drivers/firmware/broadcom/cfe_env.c
13+
+++ b/drivers/firmware/broadcom/cfe_env.c
14+
@@ -21,6 +21,8 @@
15+
static char _nvdata[NVRAM_SIZE];
16+
static char _valuestr[256];
17+
18+
+char *cfe_env_get(unsigned char *nv_buf, const char *name);
19+
+
20+
/*
21+
* TLV types. These codes are used in the "type-length-value"
22+
* encoding of the items stored in the NVRAM device (flash or EEPROM)

0 commit comments

Comments
 (0)