Commit 90419615c21cbe00f5d2a6720b719093ade5d794
Committed by
Greg Kroah-Hartman
1 parent
5ff8bebbd2
Exists in
master
and in
13 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/staging/octeon/ethernet.c
... | ... | @@ -55,7 +55,7 @@ |
55 | 55 | #include <asm/octeon/cvmx-gmxx-defs.h> |
56 | 56 | #include <asm/octeon/cvmx-smix-defs.h> |
57 | 57 | |
58 | -int num_packet_buffers = 1024; | |
58 | +static int num_packet_buffers = 1024; | |
59 | 59 | module_param(num_packet_buffers, int, 0444); |
60 | 60 | MODULE_PARM_DESC(num_packet_buffers, "\n" |
61 | 61 | "\tNumber of packet buffers to allocate and store in the\n" |