thunderbolt: Make tb_eeprom_get_drom_offset static

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>
tirimbino
Andreas Noever 11 years ago committed by Greg Kroah-Hartman
parent e7120778a4
commit e0f550141b
  1. 2
      drivers/thunderbolt/eeprom.c

@ -233,7 +233,7 @@ struct tb_drom_entry_port {
/** /**
* tb_eeprom_get_drom_offset - get drom offset within eeprom * 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; struct tb_cap_plug_events cap;
int res; int res;

Loading…
Cancel
Save