Re: [PATCH] staging:iio: Add missing MODULE_DEVICE_TABLE and MODULE_ALIAS

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

 



On 11/15/2011 08:45 PM, Jonathan Cameron wrote:
> On 11/15/2011 04:14 PM, Lars-Peter Clausen wrote:
>> Quite a few iio drivers provide no MODULE_DEVICE_TABLE or MODULE_ALIAS or only
>> provide a MODULE_ALIAS while they have support for multiple device ids. This
>> prevents auto module loading from working correctly.
>>
> Sensible patch.  I've never chased this down because I'm cynical and
> tend to specifically load drivers for my devices.  This will have
> fuzz all over the place, so you may end up rebasing to get it in.
> I'd like this to happen asap though as things are moderately quiet at
> the moment!

I'm don't use module auto loading myself that much, but these kind of issues
tend to spread as previous drivers are used as skeletons for new ones.

In regard to the fuzz, I've collected the IIO patches which were sent to GregKH
but haven't been applied yet[1] and based this patch on top of it.

Btw. I see you have a new email address. Which one should we send patches too?

>> This patch fixes it by adding the missing MODULE_DEVICE_TABLEs and
>> MODULE_ALIAS'.
>>
>> Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
> Acked-by: Jonathan Cameron <jic23@xxxxxxxxxx>

Thanks
- Lars


[1] http://git.metafoo.de/?p=linux-2.6;a=shortlog;h=refs/heads/iio-queue
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux