mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 19:31:09 +07:00
usb: xhci: remove dummy extra_priv_size for size of xhci_hcd struct
because hcd_priv_size is already size of xhci_hcd struct, extra_priv_size is not needed anymore for MTK and tegra drivers. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Tested-by: Thierry Reding <treding@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
94a631d91a
commit
20e4e37e4a
@ -382,7 +382,6 @@ static int usb_wakeup_of_property_parse(struct xhci_hcd_mtk *mtk,
|
|||||||
|
|
||||||
static int xhci_mtk_setup(struct usb_hcd *hcd);
|
static int xhci_mtk_setup(struct usb_hcd *hcd);
|
||||||
static const struct xhci_driver_overrides xhci_mtk_overrides __initconst = {
|
static const struct xhci_driver_overrides xhci_mtk_overrides __initconst = {
|
||||||
.extra_priv_size = sizeof(struct xhci_hcd),
|
|
||||||
.reset = xhci_mtk_setup,
|
.reset = xhci_mtk_setup,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1308,7 +1308,6 @@ static int tegra_xhci_setup(struct usb_hcd *hcd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const struct xhci_driver_overrides tegra_xhci_overrides __initconst = {
|
static const struct xhci_driver_overrides tegra_xhci_overrides __initconst = {
|
||||||
.extra_priv_size = sizeof(struct xhci_hcd),
|
|
||||||
.reset = tegra_xhci_setup,
|
.reset = tegra_xhci_setup,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user