net/ps3_gelic: Fix build error with DEBUG
authorGeoff Levand <geoff@infradead.org>
Wed, 10 Jun 2015 17:19:48 +0000 (10:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2015 07:38:12 +0000 (00:38 -0700)
commit7161d18f6631b30b324f36bcad36191fde62db88
tree2122e9edfa7b55373c19100dfda34f9af094f691
parenta4244b0cf58d56c171874e85228ba5deffeb017a
net/ps3_gelic: Fix build error with DEBUG

When the DEBUG preprocessor macro is defined the ps3_gelic_net driver build
fails due to an undeclared routine gelic_descr_get_status().  This problem
was introduced during the code cleanup of commit
6b0c21cede22be1f68f0a632c0ca38008ce1abe7 (net: Fix p3_gelic_net sparse warnings),
which re-arranged the ordering of some of the gelic routines.

This change just moves the gelic_descr_get_status() routine up in the
ps3_gelic_net.c source file. There is no functional change.

Fixes build errors like these:

  drivers/net/ethernet/toshiba/ps3_gelic_net.c: error: implicit declaration of function gelic_descr_get_status

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/toshiba/ps3_gelic_net.c
This page took 0.024754 seconds and 5 git commands to generate.