[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFLxGvxLtxxja=yAyC=Z4LjvfPkp8NW0vFa4NJg7dmYFjan+3Q@mail.gmail.com>
Date: Thu, 15 Oct 2015 13:31:13 +0200
From: Richard Weinberger <richard.weinberger@...il.com>
To: Muni Sekhar <munisekharrms@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>, linux-pci@...r.kernel.org,
Rusty Russell <rusty@...tcorp.com.au>
Subject: Re: sdhci-pci or sdhci_pci
On Thu, Oct 15, 2015 at 1:00 PM, Muni Sekhar <munisekharrms@...il.com> wrote:
> [ Please keep me in CC as I'm not subscribed to the list]
>
> Hello,
>
> I loaded sdhci-pci.ko, but lsmod shows it as sdhci_pci.
> Why is that lsmod shows wrong module name( '-' changed to '_')?
>
>
> # lsmod
> Module Size Used by
> sdhci_pci 23301 0
> sdhci 43685 1 sdhci_pci
The problem is that module names must contain a dash. This is why kbuild
is renaming them.
IIRC because the modalias mechanism is using them.
CC'ing Rusty. Maybe he can give more details. :)
--
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists