Commit 40b3dc6d authored by Fengguang Wu's avatar Fengguang Wu Committed by Greg Kroah-Hartman

usb: pci-quirks: amd_chipset_sb_type_init() can be static

Acked-by: default avatarHuang Rui <ray.huang@amd.com>
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b8ad5c37
...@@ -118,7 +118,7 @@ static DEFINE_SPINLOCK(amd_lock); ...@@ -118,7 +118,7 @@ static DEFINE_SPINLOCK(amd_lock);
* *
* Returns: 1 if it is an AMD chipset, 0 otherwise. * Returns: 1 if it is an AMD chipset, 0 otherwise.
*/ */
int amd_chipset_sb_type_init(struct amd_chipset_info *pinfo) static int amd_chipset_sb_type_init(struct amd_chipset_info *pinfo)
{ {
u8 rev = 0; u8 rev = 0;
pinfo->sb_type.gen = AMD_CHIPSET_UNKNOWN; pinfo->sb_type.gen = AMD_CHIPSET_UNKNOWN;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment