
From: Andrew Morton <akpm@osdl.org>

NFI what's going on in here...


drivers/message/fusion/mptspi.c:110: `mptscsih_store_queue_depth' undeclared here (not in a function)
drivers/message/fusion/mptspi.c:110: initializer element is not constant
drivers/message/fusion/mptspi.c:110: (near initialization for `mptspi_queue_depth_attr.store')
drivers/message/fusion/mptspi.c:111: initializer element is not constant
drivers/message/fusion/mptspi.c:111: (near initialization for `mptspi_queue_depth_attr')

and

drivers/message/fusion/mptspi.c:110: `mptscsih_store_queue_depth' undeclared here (not in a function)
drivers/message/fusion/mptspi.c:110: initializer element is not constant
drivers/message/fusion/mptspi.c:110: (near initialization for `mptspi_queue_depth_attr.store')
drivers/message/fusion/mptspi.c:111: initializer element is not constant
drivers/message/fusion/mptspi.c:111: (near initialization for `mptspi_queue_depth_attr')

Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 drivers/message/fusion/mptfc.c  |    1 -
 drivers/message/fusion/mptspi.c |    1 -
 2 files changed, 2 deletions(-)

diff -puN drivers/message/fusion/mptspi.c~mptspi-build-fix drivers/message/fusion/mptspi.c
--- devel/drivers/message/fusion/mptspi.c~mptspi-build-fix	2005-07-01 00:37:34.000000000 -0700
+++ devel-akpm/drivers/message/fusion/mptspi.c	2005-07-01 00:37:40.000000000 -0700
@@ -107,7 +107,6 @@ static struct device_attribute mptspi_qu
 		.name = 	"queue_depth",
 		.mode =		S_IWUSR,
 	},
-	.store = mptscsih_store_queue_depth,
 };
 
 static struct device_attribute *mptspi_dev_attrs[] = {
diff -puN drivers/message/fusion/mptfc.c~mptspi-build-fix drivers/message/fusion/mptfc.c
--- devel/drivers/message/fusion/mptfc.c~mptspi-build-fix	2005-07-01 00:38:06.000000000 -0700
+++ devel-akpm/drivers/message/fusion/mptfc.c	2005-07-01 00:38:11.000000000 -0700
@@ -88,7 +88,6 @@ static struct device_attribute mptfc_que
 		.name = 	"queue_depth",
 		.mode =		S_IWUSR,
 	},
-	.store = mptscsih_store_queue_depth,
 };
 
 static struct device_attribute *mptfc_dev_attrs[] = {
_
