OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 98... Line 98...
98   98  
99 *pparts = parts; 99 *pparts = parts;
100 return MINOR_NR_PARTS; 100 return MINOR_NR_PARTS;
Line 101... Line -...
101 } -  
102   -  
103 static const struct of_device_id mtdsplit_minor_of_match_table[] = { -  
104 { .compatible = "mikrotik,minor" }, -  
105 {}, -  
106 }; -  
107 MODULE_DEVICE_TABLE(of, mtdsplit_minor_of_match_table); 101 }
108   102  
109 static struct mtd_part_parser mtdsplit_minor_parser = { 103 static struct mtd_part_parser mtdsplit_minor_parser = {
110 .owner = THIS_MODULE, -  
111 .name = "minor-fw", 104 .owner = THIS_MODULE,
112 .of_match_table = mtdsplit_minor_of_match_table, 105 .name = "minor-fw",
113 .parse_fn = mtdsplit_parse_minor, 106 .parse_fn = mtdsplit_parse_minor,
Line 114... Line 107...
114 .type = MTD_PARSER_TYPE_FIRMWARE, 107 .type = MTD_PARSER_TYPE_FIRMWARE,