staging: octeon-ethernet: make num_packet_buffers static
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 1 Mar 2014 22:09:06 +0000 (00:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Mar 2014 00:42:28 +0000 (16:42 -0800)
Make num_packet_buffers static to eliminate a sparse warning.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet.c

index 9dbc58f7ccf324a7aec976176f47dde135ff64e9..ff7214aac9dd6ed05c524c69fa23e35767d2dcce 100644 (file)
@@ -55,7 +55,7 @@
 #include <asm/octeon/cvmx-gmxx-defs.h>
 #include <asm/octeon/cvmx-smix-defs.h>
 
-int num_packet_buffers = 1024;
+static int num_packet_buffers = 1024;
 module_param(num_packet_buffers, int, 0444);
 MODULE_PARM_DESC(num_packet_buffers, "\n"
        "\tNumber of packet buffers to allocate and store in the\n"