]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit593cb87fe9b76ed656addb3da50192bf7af75c3c
tree2122e9edfa7b55373c19100dfda34f9af094f691
parent6da7240281f826f1de40b32b9001856ba0f7b82c
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
f41826b3ff952324c06fd1374984fc3630c5e797 (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