Re: [PATCH 1/2] ARM OMAP: Create device file

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

 



Am 12.10.2012 09:58, schrieb Sascha Hauer:

Hello Sascha,

Nice work. As Jean Christophe already mentioned, it would be nice to
skip the base address. That would mean to have a omap_add_mmc() function
like above in an omap generic place and then:

static inline struct device_d omap<x>_add_mmc<y>(void *pdata)
{
	omap_add_mmc(OMAPx_MMCy_BASE, pdata);
}

in omap3/4 specific include files.

Let me know if you want to work on this, otherwise I'm also happy to
apply this one as it's already a step forward.
I will change it as you suggested.
I would base my rework on next so I can apply the changes also on the archosg9 board.

Teresa


Sascha




_______________________________________________
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