提交 e93272fe 编写于 作者: Y Yoshihiro Shimoda 提交者: Greg Kroah-Hartman

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: NYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: NMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 4efb2f69
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册