Re: [RFC 1/2] i2c: Use stable dev_name for ACPI enumerated I2C slaves

Mark Brown
2013-10-28T16:10:23Z

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

On Mon, Oct 28, 2013 at 03:15:25PM +0200, Jarkko Nikula wrote:

> One possible thing to do is to let structure definitions to be
> available for non-ACPI builds. Then compiler won't fail on structure
> access which will be anyway optimized away by later compiler stages.

You could also have inline accessor functions which can be stubbed out
when not needed.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]