net/txgbe: add security session create operation
[dpdk.git] / drivers / net / txgbe / base / txgbe_dummy.h
index 495daa1..c9f2e78 100644 (file)
@@ -7,7 +7,7 @@
 
 #ifdef TUP
 #elif defined(__GNUC__)
-#define TUP(x) x##_unused __attribute__((unused))
+#define TUP(x) x##_unused txgbe_unused
 #elif defined(__LCLINT__)
 #define TUP(x) x /*@unused@*/
 #else
@@ -326,7 +326,7 @@ static inline void txgbe_mac_fc_autoneg_dummy(struct txgbe_hw *TUP0)
 {
 }
 static inline s32 txgbe_mac_set_fw_drv_ver_dummy(struct txgbe_hw *TUP0, u8 TUP1,
-                       u8 TUP2, u8 TUP3, u8 TUP4, u16 TUP5, char *TUP6)
+                       u8 TUP2, u8 TUP3, u8 TUP4, u16 TUP5, const char *TUP6)
 {
        return TXGBE_ERR_OPS_DUMMY;
 }