From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 14 Jun 2010 16:46:48 +0000 Subject: Re: New rule for xD FTL driver Message-Id: <20100614164648.GB14227@kroah.com> List-Id: References: <1276347244.4481.15.camel@maxim-laptop> In-Reply-To: <1276347244.4481.15.camel@maxim-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, Jun 12, 2010 at 03:54:04PM +0300, Maxim Levitsky wrote: > Hi, > > I have written a driver for xD card reader and xD/SmartMedia FTL that is > usually mandatory to use with xD cards. > > I think this can be added to 80-drivers.rule > SUBSYSTEM="mtd", RUN+="/sbin/modprobe sm_ftl" Why does this module not have the proper MODULE_DEVICE() or aliases in it so that you don't have to manually load the module? This should not need to be a udev rule. thanks, greg k-h