File tree Expand file tree Collapse file tree 4 files changed +40
-0
lines changed Expand file tree Collapse file tree 4 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,16 @@ static int __init sh7343_devices_setup(void)
234234}
235235__initcall (sh7343_devices_setup );
236236
237+ static struct platform_device * sh7343_early_devices [] __initdata = {
238+ & cmt_device ,
239+ };
240+
241+ void __init plat_early_device_setup (void )
242+ {
243+ early_platform_add_devices (sh7343_early_devices ,
244+ ARRAY_SIZE (sh7343_early_devices ));
245+ }
246+
237247enum {
238248 UNUSED = 0 ,
239249
Original file line number Diff line number Diff line change @@ -226,6 +226,16 @@ static int __init sh7366_devices_setup(void)
226226}
227227__initcall (sh7366_devices_setup );
228228
229+ static struct platform_device * sh7366_early_devices [] __initdata = {
230+ & cmt_device ,
231+ };
232+
233+ void __init plat_early_device_setup (void )
234+ {
235+ early_platform_add_devices (sh7366_early_devices ,
236+ ARRAY_SIZE (sh7366_early_devices ));
237+ }
238+
229239enum {
230240 UNUSED = 0 ,
231241
Original file line number Diff line number Diff line change @@ -270,6 +270,16 @@ static int __init sh7722_devices_setup(void)
270270}
271271__initcall (sh7722_devices_setup );
272272
273+ static struct platform_device * sh7722_early_devices [] __initdata = {
274+ & cmt_device ,
275+ };
276+
277+ void __init plat_early_device_setup (void )
278+ {
279+ early_platform_add_devices (sh7722_early_devices ,
280+ ARRAY_SIZE (sh7722_early_devices ));
281+ }
282+
273283enum {
274284 UNUSED = 0 ,
275285
Original file line number Diff line number Diff line change @@ -281,6 +281,16 @@ static int __init sh7723_devices_setup(void)
281281}
282282__initcall (sh7723_devices_setup );
283283
284+ static struct platform_device * sh7723_early_devices [] __initdata = {
285+ & cmt_device ,
286+ };
287+
288+ void __init plat_early_device_setup (void )
289+ {
290+ early_platform_add_devices (sh7723_early_devices ,
291+ ARRAY_SIZE (sh7723_early_devices ));
292+ }
293+
284294enum {
285295 UNUSED = 0 ,
286296
You can’t perform that action at this time.
0 commit comments