diff options
author | 2014-11-19 12:37:53 -0200 | |
---|---|---|
committer | 2014-11-25 08:47:04 -0600 | |
commit | da9f3289c74f93b63c5ca741caa4e2d728ccafba (patch) | |
tree | 266a7486c30605a9df4dfffd58496010ee54c6d9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: gadget: udc: pxa25x: remove unnecessary NULL check (diff) | |
download | linux-dev-da9f3289c74f93b63c5ca741caa4e2d728ccafba.tar.xz linux-dev-da9f3289c74f93b63c5ca741caa4e2d728ccafba.zip |
usb: dwc2: Fix build warning when CONFIG_PM_SLEEP=n
Building with bcm2835_defconfig, which has CONFIG_PM_SLEEP=n causes the
following build warning:
drivers/usb/dwc2/platform.c:227:12: warning: 'dwc2_suspend' defined but not used [-Wunused-function]
drivers/usb/dwc2/platform.c:237:12: warning: 'dwc2_resume' defined but not used [-Wunused-function]
Annotate these functions with '__maybe_unused' to prevent the warnings.
Reported-by: Olof's autobuilder <build@lixom.net>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions