Skip to contentSkip to conversation

drivers/message/fusion/mptctl.c: make struct async_queue static

PATCH In review [email protected] 1 participant 1 message Mar 8, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 28/28 drivers/message/fusion/mptctl.c: make struct async_queue static

From: Adrian Bunk <[email protected]>

There is no good reason for struct async_queue being global.

Additional, this patch adds some missing whitespace.

Cc "Moore, Eric Dean" <[email protected]>
Cc James Bottomley <[email protected]>

---

 drivers/message/fusion/mptctl.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/message/fusion/mptctl.c renamed from drivers/message/fusion/mptctl.c~drivers-message-fusion-mptctlc-make-struct-async_queue-static +1 -1
diff -puN drivers/message/fusion/mptctl.c~drivers-message-fusion-mptctlc-make-struct-async_queue-static drivers/message/fusion/mptctl.c
@@ -140,7 +140,7 @@ static int  mptctl_ioc_reset(MPT_ADAPTER
  * Event Handler function
  */
 static int mptctl_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply);
-struct fasync_struct *async_queue=NULL;
+static struct fasync_struct *async_queue = NULL;
 
 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
 /*

_