Revision 05946bce839b4fed5442dbfab77060fb75e051f3 authored by Anton Vorontsov on 04 July 2008, 16:59:38 UTC, committed by Linus Torvalds on 04 July 2008, 17:40:06 UTC
This patch fixes following build error when CONFIG_PM is set. CC drivers/video/fsl-diu-fb.o drivers/video/fsl-diu-fb.c: In function 'fsl_diu_suspend': drivers/video/fsl-diu-fb.c:1327: error: 'ofdev' undeclared (first use in this function) drivers/video/fsl-diu-fb.c:1327: error: (Each undeclared identifier is reported only once drivers/video/fsl-diu-fb.c:1327: error: for each function it appears in.) drivers/video/fsl-diu-fb.c: In function 'fsl_diu_resume': drivers/video/fsl-diu-fb.c:1337: error: 'ofdev' undeclared (first use in this function) While I'm at it, also fix this warning: drivers/video/fsl-diu-fb.c: In function 'fsl_diu_alloc': drivers/video/fsl-diu-fb.c:314: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'phys_addr_t' And these section mismatches: ..from the function fsl_diu_remove() to the function .exit.text:uninstall_fb() ..from the function fsl_diu_remove() to the function .exit.text:uninstall_fb() ..from the function install_fb() to the variable .devinit.data:fsl_diu_mode_db ..from the function install_fb() to the variable .devinit.data:fsl_diu_mode_db ..from the function fsl_diu_probe() to the function .exit.text:uninstall_fb() ..from the function fsl_diu_probe() to the function .exit.text:uninstall_fb() Also, some sparse fixes: make two functions static, and use NULL where appropriate. There are still a lot of sparse warnings, mainly wrt absence of __iomem annotations, but some will require ugly __force stuff. I'll leave them for now, since proper fix would be not that trivial as few one-liners below. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Cc: Timur Tabi <timur@freescale.com> Cc: Antonino Daplas <adaplas@gmail.com> Cc: York Sun <yorksun@freescale.com> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 7059d4b
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 29.2 KB |
Makefile | -rw-r--r-- | 3.7 KB |
acquirewdt.c | -rw-r--r-- | 8.8 KB |
advantechwdt.c | -rw-r--r-- | 8.0 KB |
alim1535_wdt.c | -rw-r--r-- | 10.0 KB |
alim7101_wdt.c | -rw-r--r-- | 10.7 KB |
ar7_wdt.c | -rw-r--r-- | 8.2 KB |
at32ap700x_wdt.c | -rw-r--r-- | 10.0 KB |
at91rm9200_wdt.c | -rw-r--r-- | 6.5 KB |
bfin_wdt.c | -rw-r--r-- | 11.7 KB |
booke_wdt.c | -rw-r--r-- | 4.6 KB |
cpu5wdt.c | -rw-r--r-- | 6.7 KB |
davinci_wdt.c | -rw-r--r-- | 6.5 KB |
ep93xx_wdt.c | -rw-r--r-- | 5.5 KB |
eurotechwdt.c | -rw-r--r-- | 10.7 KB |
geodewdt.c | -rw-r--r-- | 6.6 KB |
hpwdt.c | -rw-r--r-- | 17.6 KB |
i6300esb.c | -rw-r--r-- | 14.5 KB |
iTCO_vendor_support.c | -rw-r--r-- | 9.2 KB |
iTCO_wdt.c | -rw-r--r-- | 23.8 KB |
ib700wdt.c | -rw-r--r-- | 8.4 KB |
ibmasr.c | -rw-r--r-- | 9.0 KB |
indydog.c | -rw-r--r-- | 4.7 KB |
iop_wdt.c | -rw-r--r-- | 5.8 KB |
it8712f_wdt.c | -rw-r--r-- | 9.1 KB |
ixp2000_wdt.c | -rw-r--r-- | 4.6 KB |
ixp4xx_wdt.c | -rw-r--r-- | 4.6 KB |
ks8695_wdt.c | -rw-r--r-- | 7.1 KB |
machzwd.c | -rw-r--r-- | 10.2 KB |
mixcomwd.c | -rw-r--r-- | 7.5 KB |
mpc5200_wdt.c | -rw-r--r-- | 6.8 KB |
mpc83xx_wdt.c | -rw-r--r-- | 5.6 KB |
mpc8xx_wdt.c | -rw-r--r-- | 3.6 KB |
mpcore_wdt.c | -rw-r--r-- | 9.9 KB |
mtx-1_wdt.c | -rw-r--r-- | 5.9 KB |
mv64x60_wdt.c | -rw-r--r-- | 7.8 KB |
omap_wdt.c | -rw-r--r-- | 9.0 KB |
omap_wdt.h | -rw-r--r-- | 2.6 KB |
pc87413_wdt.c | -rw-r--r-- | 15.0 KB |
pcwd.c | -rw-r--r-- | 27.1 KB |
pcwd_pci.c | -rw-r--r-- | 20.8 KB |
pcwd_usb.c | -rw-r--r-- | 22.2 KB |
pnx4008_wdt.c | -rw-r--r-- | 8.2 KB |
rm9k_wdt.c | -rw-r--r-- | 10.2 KB |
s3c2410_wdt.c | -rw-r--r-- | 12.9 KB |
sa1100_wdt.c | -rw-r--r-- | 4.3 KB |
sb_wdog.c | -rw-r--r-- | 8.3 KB |
sbc60xxwdt.c | -rw-r--r-- | 10.3 KB |
sbc7240_wdt.c | -rw-r--r-- | 7.3 KB |
sbc8360.c | -rw-r--r-- | 10.1 KB |
sbc_epx_c3.c | -rw-r--r-- | 5.1 KB |
sc1200wdt.c | -rw-r--r-- | 11.0 KB |
sc520_wdt.c | -rw-r--r-- | 11.0 KB |
scx200_wdt.c | -rw-r--r-- | 6.4 KB |
shwdt.c | -rw-r--r-- | 12.5 KB |
smsc37b787_wdt.c | -rw-r--r-- | 15.8 KB |
softdog.c | -rw-r--r-- | 7.2 KB |
txx9wdt.c | -rw-r--r-- | 6.5 KB |
w83627hf_wdt.c | -rw-r--r-- | 8.5 KB |
w83697hf_wdt.c | -rw-r--r-- | 9.9 KB |
w83877f_wdt.c | -rw-r--r-- | 10.1 KB |
w83977f_wdt.c | -rw-r--r-- | 12.0 KB |
wafer5823wdt.c | -rw-r--r-- | 7.2 KB |
wd501p.h | -rw-r--r-- | 1.6 KB |
wdrtas.c | -rw-r--r-- | 16.5 KB |
wdt.c | -rw-r--r-- | 15.9 KB |
wdt285.c | -rw-r--r-- | 4.7 KB |
wdt977.c | -rw-r--r-- | 12.0 KB |
wdt_pci.c | -rw-r--r-- | 18.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...