Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andreas Noever and committed by
Greg Kroah-Hartman
e0f55014 e7120778

+1 -1
+1 -1
drivers/thunderbolt/eeprom.c
··· 233 233 /** 234 234 * tb_eeprom_get_drom_offset - get drom offset within eeprom 235 235 */ 236 - int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset) 236 + static int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset) 237 237 { 238 238 struct tb_cap_plug_events cap; 239 239 int res;