Re: [PATCH 08/11] ARM: i.MX6 realq7: prepare multiboard support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 27, 2013 at 09:03:26AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 10:00 Wed 26 Jun     , Sascha Hauer wrote:
> >  	return 0;
> >  }
> > -core_initcall(realq7_console_init);
> > +postcore_initcall(realq7_console_init);
> 
> I really don't like those if (!of_mac......

As discussed on IRQ I don't like it either...

> 
> can we have a struct os is the kernel?

...but my experiments with a struct also were not very promising.

I'm open for patches. For now I think the compatible matching is
good enough, but it should be worked on before we have hundreds
of initcalls like this.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux