OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 77... | Line 77... | |||
77 | |
77 | |
|
78 | *pparts = parts; |
78 | *pparts = parts; |
|
79 | return LZMA_NR_PARTS; |
79 | return LZMA_NR_PARTS; |
|
Line 80... | Line -... | |||
80 | } |
- | ||
81 | |
- | ||
82 | static const struct of_device_id mtdsplit_lzma_of_match_table[] = { |
- | ||
83 | { .compatible = "lzma" }, |
- | ||
84 | {}, |
- | ||
85 | }; |
- | ||
86 | MODULE_DEVICE_TABLE(of, mtdsplit_lzma_of_match_table); |
80 | } |
|
87 | |
81 | |
|
88 | static struct mtd_part_parser mtdsplit_lzma_parser = { |
82 | static struct mtd_part_parser mtdsplit_lzma_parser = { |
|
89 | .owner = THIS_MODULE, |
- | ||
90 | .name = "lzma-fw", |
83 | .owner = THIS_MODULE, |
|
91 | .of_match_table = mtdsplit_lzma_of_match_table, |
84 | .name = "lzma-fw", |
|
92 | .parse_fn = mtdsplit_parse_lzma, |
85 | .parse_fn = mtdsplit_parse_lzma, |
|
Line 93... | Line 86... | |||
93 | .type = MTD_PARSER_TYPE_FIRMWARE, |
86 | .type = MTD_PARSER_TYPE_FIRMWARE, |