inet: frag: enforce memory limits earlier
[linux/fpc-iii.git] / drivers / usb / host / xhci-plat.h
blob9af0cb48053f27bd07cd3ad1d79b3a6815700fa4
1 /*
2 * xhci-plat.h - xHCI host controller driver platform Bus Glue.
4 * Copyright (C) 2015 Renesas Electronics Corporation
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 */
11 #ifndef _XHCI_PLAT_H
12 #define _XHCI_PLAT_H
14 #include "xhci.h" /* for hcd_to_xhci() */
16 struct xhci_plat_priv {
17 const char *firmware_name;
18 void (*plat_start)(struct usb_hcd *);
19 int (*init_quirk)(struct usb_hcd *);
22 #define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv)
23 #endif /* _XHCI_PLAT_H */