From: Andreas Noever Date: Fri, 20 Jun 2014 21:42:25 +0200 Subject: [27/31] thunderbolt: Make tb_eeprom_get_drom_offset static Origin: https://git.kernel.org/linus/e0f550141be3d4c401ae15a0cd1877d4d9665f16 tb_eeprom_get_drom_offset is local to this file. Signed-off-by: Andreas Noever Signed-off-by: Greg Kroah-Hartman --- drivers/thunderbolt/eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thunderbolt/eeprom.c b/drivers/thunderbolt/eeprom.c index 71f719b..0dde34e 100644 --- a/drivers/thunderbolt/eeprom.c +++ b/drivers/thunderbolt/eeprom.c @@ -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;