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 |
---|---|---|
mach-bf527 | ||
mach-bf533 | ||
mach-bf537 | ||
mach-bf548 | ||
mach-bf561 | ||
mach-common | ||
.gitignore | -rw-r--r-- | 6 bytes |
Kbuild | -rw-r--r-- | 65 bytes |
a.out.h | -rw-r--r-- | 697 bytes |
atomic.h | -rw-r--r-- | 3.0 KB |
auxvec.h | -rw-r--r-- | 62 bytes |
bfin-global.h | -rw-r--r-- | 4.2 KB |
bfin5xx_spi.h | -rw-r--r-- | 3.4 KB |
bfin_simple_timer.h | -rw-r--r-- | 446 bytes |
bfin_sport.h | -rw-r--r-- | 4.6 KB |
bitops.h | -rw-r--r-- | 4.4 KB |
blackfin.h | -rw-r--r-- | 1.6 KB |
bug.h | -rw-r--r-- | 301 bytes |
bugs.h | -rw-r--r-- | 239 bytes |
byteorder.h | -rw-r--r-- | 1.1 KB |
cache.h | -rw-r--r-- | 593 bytes |
cacheflush.h | -rw-r--r-- | 3.2 KB |
checksum.h | -rw-r--r-- | 2.5 KB |
cplb-mpu.h | -rw-r--r-- | 1.8 KB |
cplb.h | -rw-r--r-- | 3.9 KB |
cplbinit.h | -rw-r--r-- | 2.5 KB |
cpumask.h | -rw-r--r-- | 139 bytes |
cputime.h | -rw-r--r-- | 130 bytes |
current.h | -rw-r--r-- | 612 bytes |
delay.h | -rw-r--r-- | 1.3 KB |
device.h | -rw-r--r-- | 129 bytes |
div64.h | -rw-r--r-- | 31 bytes |
dma-mapping.h | -rw-r--r-- | 2.9 KB |
dma.h | -rw-r--r-- | 6.2 KB |
dpmc.h | -rw-r--r-- | 2.5 KB |
early_printk.h | -rw-r--r-- | 995 bytes |
elf.h | -rw-r--r-- | 4.2 KB |
emergency-restart.h | -rw-r--r-- | 152 bytes |
entry.h | -rw-r--r-- | 1.8 KB |
errno.h | -rw-r--r-- | 106 bytes |
fb.h | -rw-r--r-- | 205 bytes |
fcntl.h | -rw-r--r-- | 405 bytes |
fixed_code.h | -rw-r--r-- | 501 bytes |
flat.h | -rw-r--r-- | 1.5 KB |
futex.h | -rw-r--r-- | 82 bytes |
gpio.h | -rw-r--r-- | 11.4 KB |
gptimers.h | -rw-r--r-- | 5.5 KB |
hardirq.h | -rw-r--r-- | 1.0 KB |
hw_irq.h | -rw-r--r-- | 86 bytes |
ide.h | -rw-r--r-- | 1.0 KB |
io.h | -rw-r--r-- | 5.9 KB |
ioctl.h | -rw-r--r-- | 31 bytes |
ioctls.h | -rw-r--r-- | 2.6 KB |
ipcbuf.h | -rw-r--r-- | 696 bytes |
irq.h | -rw-r--r-- | 2.6 KB |
irq_handler.h | -rw-r--r-- | 1005 bytes |
irq_regs.h | -rw-r--r-- | 34 bytes |
kdebug.h | -rw-r--r-- | 32 bytes |
kgdb.h | -rw-r--r-- | 4.1 KB |
kmap_types.h | -rw-r--r-- | 275 bytes |
kvm.h | -rw-r--r-- | 107 bytes |
l1layout.h | -rw-r--r-- | 766 bytes |
linkage.h | -rw-r--r-- | 113 bytes |
local.h | -rw-r--r-- | 122 bytes |
mem_map.h | -rw-r--r-- | 181 bytes |
mman.h | -rw-r--r-- | 1.7 KB |
mmu.h | -rw-r--r-- | 666 bytes |
mmu_context.h | -rw-r--r-- | 4.6 KB |
module.h | -rw-r--r-- | 421 bytes |
msgbuf.h | -rw-r--r-- | 972 bytes |
mutex.h | -rw-r--r-- | 308 bytes |
namei.h | -rw-r--r-- | 343 bytes |
nand.h | -rw-r--r-- | 1.2 KB |
page.h | -rw-r--r-- | 2.4 KB |
page_offset.h | -rw-r--r-- | 104 bytes |
param.h | -rw-r--r-- | 354 bytes |
pci.h | -rw-r--r-- | 3.8 KB |
percpu.h | -rw-r--r-- | 141 bytes |
pgalloc.h | -rw-r--r-- | 161 bytes |
pgtable.h | -rw-r--r-- | 2.7 KB |
poll.h | -rw-r--r-- | 438 bytes |
portmux.h | -rw-r--r-- | 15.9 KB |
posix_types.h | -rw-r--r-- | 1.6 KB |
processor.h | -rw-r--r-- | 3.3 KB |
ptrace.h | -rw-r--r-- | 3.1 KB |
reboot.h | -rw-r--r-- | 457 bytes |
resource.h | -rw-r--r-- | 119 bytes |
scatterlist.h | -rw-r--r-- | 733 bytes |
sections.h | -rw-r--r-- | 134 bytes |
segment.h | -rw-r--r-- | 134 bytes |
semaphore.h | -rw-r--r-- | 29 bytes |
sembuf.h | -rw-r--r-- | 695 bytes |
serial.h | -rw-r--r-- | 90 bytes |
setup.h | -rw-r--r-- | 405 bytes |
shmbuf.h | -rw-r--r-- | 1.1 KB |
shmparam.h | -rw-r--r-- | 147 bytes |
sigcontext.h | -rw-r--r-- | 1.2 KB |
siginfo.h | -rw-r--r-- | 1.1 KB |
signal.h | -rw-r--r-- | 3.5 KB |
socket.h | -rw-r--r-- | 1.2 KB |
sockios.h | -rw-r--r-- | 372 bytes |
spinlock.h | -rw-r--r-- | 125 bytes |
stat.h | -rw-r--r-- | 1.3 KB |
statfs.h | -rw-r--r-- | 111 bytes |
string.h | -rw-r--r-- | 3.2 KB |
system.h | -rw-r--r-- | 5.4 KB |
termbits.h | -rw-r--r-- | 4.7 KB |
termios.h | -rw-r--r-- | 2.6 KB |
thread_info.h | -rw-r--r-- | 4.2 KB |
time.h | -rw-r--r-- | 1.2 KB |
timex.h | -rw-r--r-- | 464 bytes |
tlb.h | -rw-r--r-- | 389 bytes |
tlbflush.h | -rw-r--r-- | 904 bytes |
topology.h | -rw-r--r-- | 143 bytes |
trace.h | -rw-r--r-- | 2.2 KB |
traps.h | -rw-r--r-- | 5.0 KB |
types.h | -rw-r--r-- | 811 bytes |
uaccess.h | -rw-r--r-- | 6.8 KB |
ucontext.h | -rw-r--r-- | 413 bytes |
unaligned.h | -rw-r--r-- | 310 bytes |
unistd.h | -rw-r--r-- | 11.6 KB |
user.h | -rw-r--r-- | 3.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...