]> err.no Git - linux-2.6/commitdiff
[PATCH] skge: fix warning from inlining SkPciWriteCfgDWord()
authorJohn W. Linville <linville@tuxdriver.com>
Sun, 13 Nov 2005 05:33:32 +0000 (00:33 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 Nov 2005 19:13:20 +0000 (14:13 -0500)
Making SkPciWriteCfgDWord a static inline produces a warning due to a
forward declaration in skdrv2nd.h.  This patch removes that declaration.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/sk98lin/h/skdrv2nd.h

index 542cec57f86a30b129adc3f62b710670c2424972..c0bfce5a465678d48098bdda47f3f8d298cfd2a1 100644 (file)
@@ -60,7 +60,6 @@ extern SK_U64         SkOsGetTime(SK_AC*);
 extern int             SkPciReadCfgDWord(SK_AC*, int, SK_U32*);
 extern int             SkPciReadCfgWord(SK_AC*, int, SK_U16*);
 extern int             SkPciReadCfgByte(SK_AC*, int, SK_U8*);
-extern int             SkPciWriteCfgDWord(SK_AC*, int, SK_U32);
 extern int             SkPciWriteCfgWord(SK_AC*, int, SK_U16);
 extern int             SkPciWriteCfgByte(SK_AC*, int, SK_U8);
 extern int             SkDrvEvent(SK_AC*, SK_IOC IoC, SK_U32, SK_EVPARA);