Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
38 lines
937 B
C
38 lines
937 B
C
/*
|
|
* drivers/usb/host/xhci-rcar.h
|
|
*
|
|
* Copyright (C) 2014 Renesas Electronics Corporation
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* version 2 as published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _XHCI_RCAR_H
|
|
#define _XHCI_RCAR_H
|
|
|
|
#define XHCI_RCAR_FIRMWARE_NAME_V1 "r8a779x_usb3_v1.dlmem"
|
|
#define XHCI_RCAR_FIRMWARE_NAME_V2 "r8a779x_usb3_v2.dlmem"
|
|
#define XHCI_RCAR_FIRMWARE_NAME_V3 "r8a779x_usb3_v3.dlmem"
|
|
|
|
#if IS_ENABLED(CONFIG_USB_XHCI_RCAR)
|
|
void xhci_rcar_start(struct usb_hcd *hcd);
|
|
int xhci_rcar_init_quirk(struct usb_hcd *hcd);
|
|
int xhci_rcar_resume_quirk(struct usb_hcd *hcd);
|
|
#else
|
|
static inline void xhci_rcar_start(struct usb_hcd *hcd)
|
|
{
|
|
}
|
|
|
|
static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int xhci_rcar_resume_quirk(struct usb_hcd *hcd)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
#endif /* _XHCI_RCAR_H */
|