aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt
diff options
context:
space:
mode:
authorAndreas Noever <andreas.noever@gmail.com>2014-06-20 15:42:25 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-20 16:06:01 -0400
commite0f550141be3d4c401ae15a0cd1877d4d9665f16 (patch)
treeecd2932f0d0928c3ff8dd9de949b42906baeda70 /drivers/thunderbolt
parente7120778a4518a1c8f188ef9865058f7f5a36919 (diff)
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>
Diffstat (limited to 'drivers/thunderbolt')
-rw-r--r--drivers/thunderbolt/eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/eeprom.c b/drivers/thunderbolt/eeprom.c
index 71f719b67115..0dde34e3a7c5 100644
--- a/drivers/thunderbolt/eeprom.c
+++ b/drivers/thunderbolt/eeprom.c
@@ -233,7 +233,7 @@ struct tb_drom_entry_port {
233/** 233/**
234 * tb_eeprom_get_drom_offset - get drom offset within eeprom 234 * tb_eeprom_get_drom_offset - get drom offset within eeprom
235 */ 235 */
236int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset) 236static int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset)
237{ 237{
238 struct tb_cap_plug_events cap; 238 struct tb_cap_plug_events cap;
239 int res; 239 int res;