From: Aaro Koskinen Date: Sat, 1 Mar 2014 22:09:06 +0000 (+0200) Subject: staging: octeon-ethernet: make num_packet_buffers static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=90419615c21cbe00f5d2a6720b719093ade5d794;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: octeon-ethernet: make num_packet_buffers static Make num_packet_buffers static to eliminate a sparse warning. Signed-off-by: Aaro Koskinen Signed-off-by: Greg Kroah-Hartman --- 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 #include -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"