[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] linux-2.6.18/scsifront: more cleanup
- make scsifront_cmd_done() static - properly annotate XenBus setup/cleanup functions Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- a/drivers/xen/scsifront/common.h +++ b/drivers/xen/scsifront/common.h @@ -125,7 +125,6 @@ int scsifront_xenbus_init(void); void scsifront_xenbus_unregister(void); int scsifront_schedule(void *data); irqreturn_t scsifront_intr(int irq, void *dev_id, struct pt_regs *ptregs); -int scsifront_cmd_done(struct vscsifrnt_info *info); #endif /* __XEN_DRIVERS_SCSIFRONT_H__ */ --- a/drivers/xen/scsifront/scsifront.c +++ b/drivers/xen/scsifront/scsifront.c @@ -176,7 +176,7 @@ static void scsifront_sync_cmd_done(stru } -int scsifront_cmd_done(struct vscsifrnt_info *info) +static int scsifront_cmd_done(struct vscsifrnt_info *info) { vscsiif_response_t *ring_res; --- a/drivers/xen/scsifront/xenbus.c +++ b/drivers/xen/scsifront/xenbus.c @@ -413,12 +413,12 @@ static struct xenbus_driver scsifront_dr .otherend_changed = scsifront_backend_changed, }; -int scsifront_xenbus_init(void) +int __init scsifront_xenbus_init(void) { return xenbus_register_frontend(&scsifront_driver); } -void scsifront_xenbus_unregister(void) +void __exit scsifront_xenbus_unregister(void) { xenbus_unregister_driver(&scsifront_driver); } Attachment:
xen-scsifront-cleanup2.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |