Re: Avoiding platform-specific callbacks in drivers?

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

 



Nicolas:

On Tue, Nov 9, 2010 at 6:10 PM, Nicolas Pitre <nico@xxxxxxxxxxx> wrote:
>
> The pseudo-device could register the
> real device and set itself as the parent.

That little tidbit there is the part I seem to have been missing
before now--- actually doing the physical device registration during
the probing of the pseudo-device.  With that, the approach actually
makes sense.

Before now, I was thinking that I would still register both devices
externally, which made things clumsy to think about.


Thanks!


b.g.
-- 
Bill Gatliff
bgat@xxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Gstreamer Embedded]     [Linux MMC Devel]     [U-Boot V2]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux ARM Kernel]     [Linux OMAP]     [Linux SCSI]

  Powered by Linux