OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 105... Line 105...
105   105  
106 *pparts = parts; 106 *pparts = parts;
107 return WRGG_NR_PARTS; 107 return WRGG_NR_PARTS;
Line 108... Line -...
108 } -  
109   -  
110 static const struct of_device_id mtdsplit_wrgg_of_match_table[] = { -  
111 { .compatible = "wrg" }, -  
112 {}, -  
113 }; -  
114 MODULE_DEVICE_TABLE(of, mtdsplit_wrgg_of_match_table); 108 }
115   109  
116 static struct mtd_part_parser mtdsplit_wrgg_parser = { 110 static struct mtd_part_parser mtdsplit_wrgg_parser = {
117 .owner = THIS_MODULE, -  
118 .name = "wrgg-fw", 111 .owner = THIS_MODULE,
119 .of_match_table = mtdsplit_wrgg_of_match_table, 112 .name = "wrgg-fw",
120 .parse_fn = mtdsplit_parse_wrgg, 113 .parse_fn = mtdsplit_parse_wrgg,
Line 121... Line 114...
121 .type = MTD_PARSER_TYPE_FIRMWARE, 114 .type = MTD_PARSER_TYPE_FIRMWARE,