Re: sdhci-pci or sdhci_pci

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 15, 2015 at 1:00 PM, Muni Sekhar <munisekharrms@xxxxxxxxx> 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-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux