Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247680 > unrolled thread

sdhci-pci or sdhci_pci

Started byMuni Sekhar <munisekharrms@gmail.com>
First post2015-10-15 13:10 +0200
Last post2015-10-15 13:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  sdhci-pci or sdhci_pci Muni Sekhar <munisekharrms@gmail.com> - 2015-10-15 13:10 +0200
    Re: sdhci-pci or sdhci_pci Richard Weinberger <richard.weinberger@gmail.com> - 2015-10-15 13:40 +0200

#1247680 — sdhci-pci or sdhci_pci

FromMuni Sekhar <munisekharrms@gmail.com>
Date2015-10-15 13:10 +0200
Subjectsdhci-pci or sdhci_pci
Message-ID<qjOA2-4Aq-21@gated-at.bofh.it>
 [ 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


-- 
Thanks,
Sekhar
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1247713

FromRichard Weinberger <richard.weinberger@gmail.com>
Date2015-10-15 13:40 +0200
Message-ID<qjP34-592-49@gated-at.bofh.it>
In reply to#1247680
On Thu, Oct 15, 2015 at 1:00 PM, Muni Sekhar <munisekharrms@gmail.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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web