summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-05-25 00:09:44 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-05-25 00:09:43 -0700
commit2d58063eb8d158cf3243a9add5df7cde202d7f4d (patch)
tree9896936e5d908b17a6cd8928b89bcf36db92b9aa
parentc1b445a451aca47b3e2e9dfa34c82651ae1b38e1 (diff)
parent5ddd6eca575e614b7ad513a8f77dab8f8d67b966 (diff)
Merge "usb: Use DECLARE_USB_FUNCTION() for initializing USB QDSS function driver"
-rw-r--r--drivers/usb/gadget/function/f_qdss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/function/f_qdss.c b/drivers/usb/gadget/function/f_qdss.c
index afb3d3a03253..2c416472e279 100644
--- a/drivers/usb/gadget/function/f_qdss.c
+++ b/drivers/usb/gadget/function/f_qdss.c
@@ -1,7 +1,7 @@
/*
* f_qdss.c -- QDSS function Driver
*
- * Copyright (c) 2012-2017, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -1162,7 +1162,7 @@ static struct usb_function *qdss_alloc(struct usb_function_instance *fi)
return &usb_qdss->port.function;
}
-DECLARE_USB_FUNCTION_INIT(qdss, qdss_alloc_inst, qdss_alloc);
+DECLARE_USB_FUNCTION(qdss, qdss_alloc_inst, qdss_alloc);
static int __init usb_qdss_init(void)
{
int ret;