/* * Copyright (C) 2014 Marvell * * Gregory Clement * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #ifndef __LINUX_XHCI_MVEBU_H #define __LINUX_XHCI_MVEBU_H struct usb_hcd; #if IS_ENABLED(CONFIG_USB_XHCI_MVEBU) int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd); #else static inline int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd) { return 0; } #endif #endif /* __LINUX_XHCI_MVEBU_H */ head>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/media')
f='/cgit.cgi/linux/net-next.git/patch/net/mac80211/cfg.c?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>patch)
tree94b7c791b7cd83225d6701b10b6d4c1aeac5151a /net/mac80211/cfg.c
parent1001354ca34179f3db924eb66672442a173147dc (diff)
regulator: core: Correct type of mode in regulator_mode_constrain
Every function handling the mode within the regulator core uses an unsigned int for mode, except for regulator_mode_constrain. This patch changes the type of mode within regulator_mode_constrain which fixes several instances where we are passing pointers to unsigned ints then treating them as an int within this function. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/mac80211/cfg.c')