OSDN Git Service

bnx2x: Remove format_fw_ver_t function casts
[tomoyo/tomoyo-test1.git] / drivers / net / ethernet / broadcom / bnx2x / bnx2x_link.h
index d31d15c..cae03c8 100644 (file)
@@ -135,7 +135,7 @@ typedef void (*link_reset_t)(struct bnx2x_phy *phy,
                             struct link_params *params);
 typedef void (*config_loopback_t)(struct bnx2x_phy *phy,
                                  struct link_params *params);
-typedef u8 (*format_fw_ver_t)(u32 raw, u8 *str, u16 *len);
+typedef int (*format_fw_ver_t)(u32 raw, u8 *str, u16 *len);
 typedef void (*hw_reset_t)(struct bnx2x_phy *phy, struct link_params *params);
 typedef void (*set_link_led_t)(struct bnx2x_phy *phy,
                               struct link_params *params, u8 mode);