vserver 1.9.3
[linux-2.6.git] / drivers / usb / host / ehci-hub.c
index 452c73e..4ff7f86 100644 (file)
@@ -146,8 +146,8 @@ static int ehci_hub_resume (struct usb_hcd *hcd)
 
 #else
 
-#define ehci_hub_suspend       0
-#define ehci_hub_resume                0
+#define ehci_hub_suspend       NULL
+#define ehci_hub_resume                NULL
 
 #endif /* CONFIG_PM */
 
@@ -455,7 +455,7 @@ static int ehci_hub_control (
 #endif
                dbg_port (ehci, "GetStatus", wIndex + 1, temp);
                // we "know" this alignment is good, caller used kmalloc()...
-               *((u32 *) buf) = cpu_to_le32 (status);
+               *((__le32 *) buf) = cpu_to_le32 (status);
                break;
        case SetHubFeature:
                switch (wValue) {