Thread (1 message) 1 message, 1 author, 2014-05-11

Re: [PATCHv4 08/20] usb: host: xhci-plat: add support for the Armada 375/38x XHCI controllers

From: Thomas Petazzoni <hidden>
Date: 2014-05-11 18:12:47
Also in: linux-arm-kernel

Dear Shimoda, Yoshihiro,

On Thu, 8 May 2014 11:44:48 +0900, Shimoda, Yoshihiro wrote:
quoted
+#ifndef __LINUX_XHCI_MVEBU_H
+#define __LINUX_XHCI_MVEBU_H
+#if IS_ENABLED(CONFIG_USB_XHCI_MVEBU)
+int xhci_mvebu_mbus_init_quirk(struct platform_device *pdev);
+#else
+static inline int xhci_mvebu_mbus_init_quirk(struct device dev)
I could not compile this code when I disabled CONFIG_USB_XHCI_MVEBU:
	incompatible type for argument 1 of 'xhci_mvebu_mbus_init_quirk'.

So, the "struct device dev" should be changed to "struct platform_device *pdev".
Ah, yes, correct, thanks! Will fix in v5.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help