]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
usb: host: xhci-plat: add firmware_name in xhci_plat_priv
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 24 Nov 2015 11:09:50 +0000 (13:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Dec 2015 18:45:51 +0000 (10:45 -0800)
This patch adds a member "firmware_name" in struct xhci_plat_priv
to simplify the code to match specific firmware name.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.h

index 4479869bd00690ecaf60c3580c9a758190c0d0eb..20b32a749398be77a6a0354ccfd897dab1e44a26 100644 (file)
@@ -20,6 +20,7 @@ enum xhci_plat_type {
 
 struct xhci_plat_priv {
        enum xhci_plat_type type;
+       const char *firmware_name;
 };
 
 #define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv)