thunderbolt: Make tb_eeprom_get_drom_offset static
authorAndreas Noever <andreas.noever@gmail.com>
Fri, 20 Jun 2014 19:42:25 +0000 (21:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 20:06:01 +0000 (13:06 -0700)
tb_eeprom_get_drom_offset is local to this file.

Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/eeprom.c

index 71f719b6711517e65680da104b9ff63b648ebca7..0dde34e3a7c5aa793e8bec8239f297b30ace2d95 100644 (file)
@@ -233,7 +233,7 @@ struct tb_drom_entry_port {
 /**
  * tb_eeprom_get_drom_offset - get drom offset within eeprom
  */
-int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset)
+static int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset)
 {
        struct tb_cap_plug_events cap;
        int res;