]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/host/xhci-plat.h
timers: Fix get_next_timer_interrupt() computation
[karo-tx-linux.git] / drivers / usb / host / xhci-plat.h
index 529c3c40f901df69250cc7d05502bb41177fa329..9af0cb48053f27bd07cd3ad1d79b3a6815700fa4 100644 (file)
 
 #include "xhci.h"      /* for hcd_to_xhci() */
 
-enum xhci_plat_type {
-       XHCI_PLAT_TYPE_MARVELL_ARMADA = 1,
-       XHCI_PLAT_TYPE_RENESAS_RCAR_GEN2,
-       XHCI_PLAT_TYPE_RENESAS_RCAR_GEN3,
-};
-
 struct xhci_plat_priv {
-       enum xhci_plat_type type;
        const char *firmware_name;
+       void (*plat_start)(struct usb_hcd *);
+       int (*init_quirk)(struct usb_hcd *);
 };
 
 #define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv)
-
-static inline bool xhci_plat_type_is(struct usb_hcd *hcd,
-                                    enum xhci_plat_type type)
-{
-       struct xhci_plat_priv *priv = hcd_to_xhci_priv(hcd);
-
-       if (priv && priv->type == type)
-               return true;
-       else
-               return false;
-}
 #endif /* _XHCI_PLAT_H */