linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: comedi: declare das6402_boards as static
@ 2014-04-10 13:54 Michele Curti
  2014-04-10 14:06 ` Dan Carpenter
  2014-04-10 14:38 ` [PATCH v2] " Michele Curti
  0 siblings, 2 replies; 5+ messages in thread
From: Michele Curti @ 2014-04-10 13:54 UTC (permalink / raw)
  To: abbotti, hsweeten, gregkh, chase.southwood, devel, linux-next

Hi,
das6402_boards array seems to be used in das6402.c only, so declare it 
as static.

This patch applies to linux-next next-20140410.

Regards,
Michele

Signed-off-by: Michele Curti <michele.curti@gmail.com>
---
 drivers/staging/comedi/drivers/das6402.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/drivers/das6402.c b/drivers/staging/comedi/drivers/das6402.c
index e0cfb6c..d18eea6 100644
--- a/drivers/staging/comedi/drivers/das6402.c
+++ b/drivers/staging/comedi/drivers/das6402.c
@@ -125,7 +125,7 @@ struct das6402_boardinfo {
 	unsigned int maxdata;
 };
 
-struct das6402_boardinfo das6402_boards[] = {
+static struct das6402_boardinfo das6402_boards[] = {
 	{
 		.name		= "das6402-12",
 		.maxdata	= 0x0fff,
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-10 14:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-10 13:54 [PATCH] staging: comedi: declare das6402_boards as static Michele Curti
2014-04-10 14:06 ` Dan Carpenter
2014-04-10 14:38 ` [PATCH v2] " Michele Curti
2014-04-10 14:45   ` Dan Carpenter
2014-04-10 14:51   ` Ian Abbott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).