Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1247713
| From | Richard Weinberger <richard.weinberger@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: sdhci-pci or sdhci_pci |
| Date | 2015-10-15 13:40 +0200 |
| Message-ID | <qjP34-592-49@gated-at.bofh.it> (permalink) |
| References | <qjOA2-4Aq-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
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
csiph-web