diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2014-03-02 00:09:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-04 16:42:28 -0800 |
commit | 90419615c21cbe00f5d2a6720b719093ade5d794 (patch) | |
tree | 839a39f3091451a78c036dc648516c6b735e60fb /drivers/staging | |
parent | 5ff8bebbd215653cfa7cc3ca2ef003a2c1bdf260 (diff) | |
download | linux-90419615c21cbe00f5d2a6720b719093ade5d794.tar.bz2 |
staging: octeon-ethernet: make num_packet_buffers static
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/octeon/ethernet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c index 9dbc58f7ccf3..ff7214aac9dd 100644 --- a/drivers/staging/octeon/ethernet.c +++ b/drivers/staging/octeon/ethernet.c @@ -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" |