Re: [PATCH 2/2] ohci-da8xx: set MODULE_ALIAS to allow autoloading

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

 



Hello.

On 07-05-2012 18:21, Jan Lübbe wrote:

On Mon, 2012-05-07 at 17:57 +0400, Sergei Shtylyov wrote:
USB platform device (in mach-davinci/usb.c) uses "ohci"
as the name. To allow autoloading of the relevant driver, the module
needs to set the MODULE_ALIAS.

     The module loading for this driver currently doesn't work anyway due to
another reason: 'da8xx_syscfg0_base' variable is not exported from
arch/arm/mach-davinci/. The maintainer refused the patch exporting it.

Are you referring to http://thread.gmane.org/gmane.linux.davinci/18516 ?

   Yes.

Is the approach of using platform data callbacks still preferred?

According to Sekhar Nori (one of the maintainers), yes. I think it's an overkill. I'd just ioremap CFGCHIP2 register.

Best regards,
Jan

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux