[pnfs] [PATCH 03/21] pnfsblock: expose scsi interface
Fred Isaman
iisaman at citi.umich.edu
Thu Apr 10 10:07:19 EDT 2008
Signed-off-by: Fred Isaman <iisaman at citi.umich.edu>
Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
drivers/scsi/hosts.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index 880c78b..aa43b62 100644
--- a/drivers/scsi/hosts.c
+++ b/drivers/scsi/hosts.c
@@ -48,10 +48,11 @@ static void scsi_host_cls_release(struct class_device *class_dev)
put_device(&class_to_shost(class_dev)->shost_gendev);
}
-static struct class shost_class = {
+struct class shost_class = {
.name = "scsi_host",
.release = scsi_host_cls_release,
};
+EXPORT_SYMBOL(shost_class);
/**
* scsi_host_set_state - Take the given host through the host state model.
--
1.5.3.3
More information about the pNFS
mailing list