projects
/
openwrt
/
staging
/
lynxis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a464fba
)
ar7: fix ac49x compilation with 4.9
author
Jonas Gorski
<
[email protected]
>
Mon, 12 Feb 2018 10:40:38 +0000
(11:40 +0100)
committer
Jonas Gorski
<
[email protected]
>
Mon, 12 Feb 2018 10:45:33 +0000
(11:45 +0100)
This will introduce a warning on 3.18, but fixes an error when
compiling for 4.9.
Fixes: cf9e0a59aabd ("ar7: add kernel 4.9 support")
Signed-off-by: Jonas Gorski <
[email protected]
>
target/linux/ar7/files/drivers/mtd/ac49xpart.c
patch
|
blob
|
history
diff --git
a/target/linux/ar7/files/drivers/mtd/ac49xpart.c
b/target/linux/ar7/files/drivers/mtd/ac49xpart.c
index 7ac4a817fca01e2c406053460cf066496e7e8bcc..4f8a9c1b849515d6471d405f8a70805ba51d7ed5 100644
(file)
--- a/
target/linux/ar7/files/drivers/mtd/ac49xpart.c
+++ b/
target/linux/ar7/files/drivers/mtd/ac49xpart.c
@@
-123,7
+123,7
@@
void gen_partname(unsigned int type,
}
static int create_mtd_partitions(struct mtd_info *master,
- struct mtd_partition **pparts,
+
const
struct mtd_partition **pparts,
struct mtd_part_parser_data *data)
{
unsigned int envpartnum = 0, linuxpartnum = 0;