
22 Jul
2011
22 Jul
'11
9:52 a.m.
On Fri, Jul 22, 2011 at 3:27 PM, Ajay Bhargav ajay.bhargav@einfochips.com wrote:
Hi Lei,
Why not put this structure into driver file? I think this register is not easy to change, and put this into arch .h would make the work duplicated, as each arch need to redefine the same structure again.
Other architectures may/may not have the same structure. One can redefine structure based on this header file.
I think if have no such same structure, the gpio driver may need to be rewrite, since the meaning of the register may also change.
Best regards, Lei