Merge branch 'stable-4.7' of git://git.infradead.org/users/pcmoore/audit
[deliverable/linux.git] / drivers / usb / host / xhci-plat.h
CommitLineData
4efb2f69
YS
1/*
2 * xhci-plat.h - xHCI host controller driver platform Bus Glue.
3 *
4 * Copyright (C) 2015 Renesas Electronics Corporation
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.
9 */
10
11#ifndef _XHCI_PLAT_H
12#define _XHCI_PLAT_H
13
14#include "xhci.h" /* for hcd_to_xhci() */
15
4efb2f69 16struct xhci_plat_priv {
e93272fe 17 const char *firmware_name;
7eca937e
FB
18 void (*plat_start)(struct usb_hcd *);
19 int (*init_quirk)(struct usb_hcd *);
4efb2f69
YS
20};
21
22#define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv)
4efb2f69 23#endif /* _XHCI_PLAT_H */
This page took 0.054058 seconds and 5 git commands to generate.