Re: [PATCH 3/4] fix module autoloading for ACPI enumerated devices

From: Mark Brown
Date: Thu Jan 16 2014 - 14:47:08 EST


On Thu, Jan 16, 2014 at 09:05:09PM +0800, Zhang Rui wrote:
> On Thu, 2014-01-16 at 13:27 +0100, Wolfram Sang wrote:

> > I wonder why we don't have/need that with CONFIG_OF? Because probably
> > nobody is using modules with i2c devices there?

> This seems a gap to me but I'm not 100% sure.
> I saw Grant Likely introduced the OF style MODALIAS to platform bus, and
> OF style registration/binding to i2c bus, maybe he has an answer for
> this.

This is needed for ACPI because we rewrite the device names to give us
stable names. With OF for I2C and SPI nothing bus specific is done that
affects this stuff so the default behaviour works.

Attachment: signature.asc
Description: Digital signature