Subject: [PATCH] net: Fix p3_gelic_net sparse warnings

From: Geoff Levand <[email-masked]>
Date: Thu, 21 Mar 2013 13:35:33 -0700

Fix these sparse warnings:

  ps3_gelic_net.c: error: marked inline, but without a definition

Signed-off-by: Geoff Levand <[email-masked]>
---

Hi Dave,

Please queue for 3.10.  Thanks.

-Geoff

 drivers/net/ethernet/toshiba/ps3_gelic_net.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/toshiba/ps3_gelic_net.c b/drivers/net/ethernet/toshiba/ps3_gelic_net.c
index 445c059..8d03fcb 100644
--- a/drivers/net/ethernet/toshiba/ps3_gelic_net.c
+++ b/drivers/net/ethernet/toshiba/ps3_gelic_net.c
@@ -294,7 +294,7 @@ iommu_error:
  * Reset the status of dma descriptors to ready state
  * and re-initialize the hardware chain for later use
  */
-static void gelic_card_reset_chain(struct gelic_card *card,
+static inline void gelic_card_reset_chain(struct gelic_card *card,
 				   struct gelic_descr_chain *chain,
 				   struct gelic_descr *start_descr)
 {
-- 
1.7.9.5