Re: [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware
- From: David Brownell <david-b@xxxxxxxxxxx>
- Date: Fri, 17 Aug 2007 08:23:15 -0700
On Friday 17 August 2007, Jan Engelhardt wrote:
On Aug 17 2007 01:06, Atsushi Nemoto wrote:
Add an MODULE_ALIAS() to make this platform driver hotplug-aware.
...
+MODULE_ALIAS("ds1742");
Why exactly is this needed? What script refers to the module as ds1742 instead
of rtc-ds1742? Regular hotplug (e.g. udev/modprobe) also go by PCI ID or
whatever is applicable and load the module which provides support for said ID.
Most busses don't have managed device IDs like PCI, USB, or PNP.
The platform, spi, and i2c busses use the driver name, which is
obviously managed within the scope of all Linux drivers.
- Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware
- From: Jan Engelhardt
- Re: [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware
- References:
- [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware
- From: Atsushi Nemoto
- Re: [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware
- From: Jan Engelhardt
- [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware
- Prev by Date: Re: Thinking outside the box on file systems
- Next by Date: Re: [Cluster-devel] Re: [gfs2][RFC] readdir caused ls process into D (uninterruptible) state, under testing with Samba 3.0.25
- Previous by thread: Re: [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware
- Next by thread: Re: [PATCH] rtc: Make rtc-ds1742 driver hotplug-aware
- Index(es):
Relevant Pages
|