提交 9812f748 编写于 作者: W wwang 提交者: Greg Kroah-Hartman

usb_storage: realtek_cr patch: fix sparse warning

Fix some sparse warning for realtek_cr patch
Signed-off-by: Nwwang <wei_wang@realsil.com.cn>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 b9f2e9a1
......@@ -141,7 +141,7 @@ static int init_realtek_cr(struct us_data *us);
.driver_info = (flags)|(USB_US_TYPE_STOR<<24)\
}
struct usb_device_id realtek_cr_ids[] = {
static struct usb_device_id realtek_cr_ids[] = {
# include "unusual_realtek.h"
{ } /* Terminating entry */
};
......@@ -570,7 +570,7 @@ static void realtek_cr_destructor(void *extra)
}
#ifdef CONFIG_PM
void realtek_pm_hook(struct us_data *us, int pm_state)
static void realtek_pm_hook(struct us_data *us, int pm_state)
{
if (pm_state == US_SUSPEND)
(void)config_autodelink_before_power_down(us);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册