mirror_ubuntu-kernels/include/linux/platform_data
Arnd Bergmann be36e000bc ARM: at91: fix at91_suspend_entering_slow_clock link error
When CONFIG_ARCH_AT91 is enabled, but none of the specific SoC support
is in use, some at91 specific drivers fail to link:

drivers/tty/serial/atmel_serial.o: In function `atmel_serial_suspend':
atmel_serial.c:(.text.atmel_serial_suspend+0x1e): undefined reference to `at91_suspend_entering_slow_clock'
drivers/usb/host/ohci-at91.o: In function `ohci_hcd_at91_drv_suspend':
ohci-at91.c:(.text.ohci_hcd_at91_drv_suspend+0x12): undefined reference to `at91_suspend_entering_slow_clock'
drivers/usb/gadget/udc/at91_udc.o: In function `at91udc_suspend':
at91_udc.c:(.text.at91udc_suspend+0x26): undefined reference to `at91_suspend_entering_slow_clock'

This changes the at91_suspend_entering_slow_clock hack once more, adding
an alternative inline implementation that is used exactly in those cases
that don't provide the normal implementation.

Fixes: c1892c2379d2 ("ARM: at91: handle CONFIG_PM for armv7m configurations")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-06-13 11:51:11 +02:00
..
media
x86
ad5449.h
ad5755.h
ad5761.h
ad7266.h
ad7291.h
ad7298.h
ad7303.h
ad7791.h
ad7793.h
ad7879.h
ad7887.h
adau17x1.h
adau1977.h
ads7828.h
arm-ux500-pm.h
asoc-imx-ssi.h
asoc-kirkwood.h
asoc-mx27vis.h
asoc-palm27x.h
asoc-s3c24xx_simtec.h
asoc-s3c.h
asoc-ti-mcbsp.h
asoc-ux500-msp.h
at24.h
at91_adc.h
ata-pxa.h
ata-samsung_cf.h
atmel_mxt_ts.h
atmel.h ARM: at91: fix at91_suspend_entering_slow_clock link error 2017-06-13 11:51:11 +02:00
b53.h
bcmgenet.h
bd6107.h
bfin_rotary.h
brcmfmac.h
bt-nokia-h4p.h
clk-integrator.h
clk-lpss.h
clk-realview.h
clk-u300.h
cpuidle-exynos.h
crypto-atmel.h
crypto-ux500.h
cyttsp4.h
davinci_asp.h
db8500_thermal.h
dma-atmel.h
dma-coh901318.h
dma-dw.h
dma-ep93xx.h
dma-hsu.h
dma-imx-sdma.h
dma-imx.h
dma-mmp_tdma.h
dma-mv_xor.h
dma-s3c24xx.h
dma-ste-dma40.h
dmtimer-omap.h
dwc3-omap.h
edma.h
efm32-spi.h
efm32-uart.h
ehci-sh.h
elm.h
emif_plat.h
eth-netx.h
fsa9480.h
g762.h
gpio_backlight.h
gpio-ath79.h
gpio-davinci.h
gpio-dwapb.h
gpio-htc-egpio.h
gpio-omap.h
gpio-ts5500.h
gpmc-omap.h
hsmmc-omap.h
hwmon-s3c.h
i2c-cbus-gpio.h
i2c-davinci.h
i2c-designware.h
i2c-imx.h
i2c-mux-reg.h
i2c-nuc900.h
i2c-s3c2410.h
ina2xx.h
intel-mid_wdt.h
intel-spi.h
invensense_mpu6050.h
iommu-omap.h
irda-pxaficp.h
irda-sa11x0.h
isl9305.h
itco_wdt.h
keyboard-pxa930_rotary.h
keyboard-spear.h
keypad-ep93xx.h
keypad-nomadik-ske.h
keypad-omap.h
keypad-pxa27x.h
keypad-w90p910.h
keyscan-davinci.h
lcd-mipid.h
leds-kirkwood-netxbig.h
leds-kirkwood-ns2.h
leds-lm355x.h
leds-lm3642.h
leds-lp55xx.h
leds-omap.h
leds-pca963x.h
leds-s3c24xx.h
lm3630a_bl.h
lm3639_bl.h
lp855x.h
lp8727.h
lp8755.h
lv5207lp.h
macb.h
max197.h
max3421-hcd.h
max6697.h
mdio-gpio.h
mfd-mcp-sa11x0.h
mlxcpld-hotplug.h
mmc-davinci.h
mmc-esdhc-imx.h
mmc-mxcmmc.h
mmc-omap.h
mmc-pxamci.h
mmc-s3cmci.h
mmc-sdhci-s3c.h
mmp_audio.h
mmp_dma.h
mouse-pxa930_trkball.h
mtd-davinci-aemif.h
mtd-davinci.h
mtd-mxc_nand.h
mtd-nand-omap2.h
mtd-nand-pxa3xx.h
mtd-nand-s3c2410.h
mtd-onenand-omap2.h
mtd-orion_nand.h
mv_usb.h
net-cw1200.h
nfcmrvl.h
ntc_thermistor.h
nxp-nci.h
omap1_bl.h
omap_drm.h
omap-twl4030.h
omap-wd-timer.h
omapdss.h
pca953x.h
pcmcia-pxa2xx_viper.h
pinctrl-adi2.h
pinctrl-single.h
pixcir_i2c_ts.h
pwm_omap_dmtimer.h
pxa2xx_udc.h
pxa_sdhci.h
regulator-haptic.h
remoteproc-omap.h
rtc-ds2404.h
rtc-v3020.h
s3c-hsotg.h
s3c-hsudc.h
sa11x0-serial.h
sc18is602.h
sdhci-pic32.h
serial-imx.h
serial-omap.h
serial-sccnxp.h
sh_ipmmu.h
shmob_drm.h
sht3x.h
sht15.h
shtc1.h
si5351.h
simplefb.h
sky81452-backlight.h
spi-clps711x.h
spi-davinci.h
spi-ep93xx.h
spi-imx.h
spi-mt65xx.h
spi-nuc900.h
spi-omap2-mcspi.h
spi-s3c64xx.h
ssm2518.h
st33zp24.h
st1232_pdata.h
st_sensors_pdata.h
st-nci.h
syscon.h
ti-aemif.h
touchscreen-s3c2410.h
tsl2563.h
uio_dmem_genirq.h
uio_pruss.h
usb3503.h
usb-davinci.h
usb-ehci-mxc.h
usb-ehci-orion.h
usb-musb-ux500.h
usb-mx2.h
usb-ohci-pxa27x.h
usb-ohci-s3c2410.h
usb-omap1.h
usb-omap.h
usb-pxa3xx-ulpi.h
usb-s3c2410_udc.h
ux500_wdt.h
video_s3c.h
video-clcd-versatile.h
video-ep93xx.h
video-imxfb.h
video-mx3fb.h
video-nuc900fb.h
video-pxafb.h
voltage-omap.h
wiznet.h
wkup_m3.h
zforce_ts.h