[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a7956be3-3598-0290-8810-8434f62834e7@kernel.org>
Date: Sun, 7 May 2017 14:45:22 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Chen-Yu Tsai <wens@...e.org>,
Eduardo Molinas <edu.molinas@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
linux-iio@...r.kernel.org,
Peter Meerwald-Stadler <pmeerw@...erw.net>, knaack.h@....de,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 1/2] [PATCH 1/2] iio: adc: sun4i-gpadc-iio: Fix module
autoload when PLATFORM devices are registered
On 02/05/17 03:10, Chen-Yu Tsai wrote:
> On Tue, May 2, 2017 at 6:45 AM, Eduardo Molinas <edu.molinas@...il.com> wrote:
>> If the driver is built as a module, it won't be autloaded if the devices
>> are registered via PLATFORM code because the PLATFORM device table
>> entries are not exported as aliases
>>
>> Before the patch:
>> $ modinfo drivers/iio/adc/sun4i-gpadc-iio.ko | grep alias
>> $
>>
>> After th patch:
>
> ^^ the
>
>> $ modinfo drivers/iio/adc/sun4i-gpadc-iio.ko | grep alias
>> alias: platform:sun6i-a31-gpadc-iio
>> alias: platform:sun5i-a13-gpadc-iio
>> alias: platform:sun4i-a10-gpadc-iio
>>
>> Signed-off-by: Eduardo Molinas <edu.molinas@...il.com>
>
> Acked-by: Chen-Yu Tsai <wens@...e.org>
>
> Can we merge this as a fix for 4.12?
Applied to fixes-togreg branch of iio.git.
Thanks,
Jonathan
>
Powered by blists - more mailing lists