Browse Source

usb: host: xhci-plat: add firmware_name in xhci_plat_priv

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>
Yoshihiro Shimoda 9 years ago
parent
commit
e93272fe3c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/usb/host/xhci-plat.h

+ 1 - 0
drivers/usb/host/xhci-plat.h

@@ -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)