[pnfs] [PATCH 04/25] pnfs: block: expose scsi interface

Fred Isaman iisaman at citi.umich.edu
Thu Feb 14 12:32:05 EST 2008


Signed-off-by: Fred Isaman <iisaman at citi.umich.edu>
---
 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 24271a8..64f2847 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
-- 
1.5.3.3



More information about the pNFS mailing list