|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] pvusbback: fix the compilation error.
pvusbback: fix the compilation error.
This patch fixes the following error.
usbstub_exit() in linux/drivers/xen/usbback/usbstab.c is called
by __init usbback_init() so that it can't have __exit.
> `usbstub_exit' referenced in section `.init.text' of drivers/built-in.o:
> defined in discarded section `.exit.text' of drivers/built-in.o
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff --git a/drivers/xen/usbback/usbstub.c b/drivers/xen/usbback/usbstub.c
--- a/drivers/xen/usbback/usbstub.c
+++ b/drivers/xen/usbback/usbstub.c
@@ -432,7 +432,7 @@ out:
return err;
}
-void __exit usbstub_exit(void)
+void usbstub_exit(void)
{
driver_remove_file(&usbback_usb_driver.driver,
&driver_attr_new_vport);
--
yamahata
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] pvusbback: fix the compilation error.,
Isaku Yamahata <=
|
|
|
|
|