Trivial cleanup in ocp_uart.c

Tom Rini trini at kernel.crashing.org
Sat Jun 22 00:39:03 EST 2002


On Fri, Jun 21, 2002 at 10:52:16AM +1000, David Gibson wrote:
> On Thu, Jun 20, 2002 at 08:50:26AM -0700, Tom Rini wrote:
> > And I think it can be used, once it gets registered to the ocp_list (and
> > something later accesses it).
>
> *Nothing* scans the ocp_list (well, except ocp_register() and
> ocp_unregister()).  This is why I think ocp_register() is a pointless
> interface.

Yes, but you're also judging an incomplete API.  Armin, would things
like PM support at least be scanning the ocp_list ?

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list