]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Rename and make nvm_read() available for other files
authorSzuying Chen <Chloe_Chen@asmedia.com.tw>
Sat, 3 Sep 2022 07:39:18 +0000 (10:39 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 7 Sep 2022 06:06:51 +0000 (09:06 +0300)
commit29a5dcafcfa1c10049ae57b0d366bce180bbb5b9
tree25c10caa09ba24f49777eb4d9800323bb957c36f
parent81629db9d9d550a65a7c2f2dece400b659eb999d
thunderbolt: Rename and make nvm_read() available for other files

In order to support non-Intel NVM formats the vendor specific NVM
validation code that will live in nvm.c needs to be able to read various
parts of the NVM so make the function available outside of switch.c and
rename it accordingly.

Signed-off-by: Szuying Chen <Chloe_Chen@asmedia.com.tw>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.h