Re: Build error on 2.5.20 under unstable debian

From: Joseph Pingenot (trelane@digitasaru.net)
Date: Wed Jun 05 2002 - 12:21:29 EST


>From Adrian Bunk on Wednesday, 05 June, 2002:
>On Wed, 5 Jun 2002, Keith Owens wrote:
>uhci_stop is __devexit but the pointer to it doesn't use __devexit_p.
>The fix is simple:
>--- drivers/usb/host/uhci-hcd.c.old Wed Jun 5 09:59:00 2002
>+++ drivers/usb/host/uhci-hcd.c Wed Jun 5 10:13:09 2002
>@@ -2515,7 +2515,7 @@
> suspend: uhci_suspend,
> resume: uhci_resume,
> #endif
>- stop: uhci_stop,
>+ stop: __devexit_p(uhci_stop),
>
> hcd_alloc: uhci_hcd_alloc,
> hcd_free: uhci_hcd_free,

Ah. What does __devexit_p() do? It looks to be some sort of macro,
  doing a cast?
And thanks, the patch solved the problem. I'm currently running 2.5.20. :)

-Joseph

-- 
Joseph======================================================jap3003@ksu.edu
"Ich bin ein Penguin."  --/. poster mmarlett, responding to news that the
  Bundestag will move to IBM/SuSE Linux.  
                      http://slashdot.org/comments.pl?sid=33588&cid=3631032
-
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/



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:25 EST