• Andrew Morton's avatar
    V4L/DVB (8960): drivers/media/video/cafe_ccic.c needs mm.h · ec16d020
    Andrew Morton authored
    sparc32 allmodconfig:
    
    drivers/media/video/cafe_ccic.c: In function 'cafe_setup_siobuf':
    drivers/media/video/cafe_ccic.c:1192: error: implicit declaration of function 'PAGE_ALIGN'
    drivers/media/video/cafe_ccic.c: At top level:
    drivers/media/video/cafe_ccic.c:1430: error: variable 'cafe_v4l_vm_ops' has initializer but incomplete type
    drivers/media/video/cafe_ccic.c:1431: error: unknown field 'open' specified in initializer
    drivers/media/video/cafe_ccic.c:1431: warning: excess elements in struct initializer
    drivers/media/video/cafe_ccic.c:1431: warning: (near initialization for 'cafe_v4l_vm_ops')
    drivers/media/video/cafe_ccic.c:1432: error: unknown field 'close' specified in initializer
    drivers/media/video/cafe_ccic.c:1433: warning: excess elements in struct initializer
    drivers/media/video/cafe_ccic.c:1433: warning: (near initialization for 'cafe_v4l_vm_ops')
    drivers/media/video/cafe_ccic.c: In function 'cafe_v4l_mmap':
    drivers/media/video/cafe_ccic.c:1444: error: 'VM_WRITE' undeclared (first use in this function)
    drivers/media/video/cafe_ccic.c:1444: error: (Each undeclared identifier is reported only once
    drivers/media/video/cafe_ccic.c:1444: error: for each function it appears in.)
    drivers/media/video/cafe_ccic.c:1444: error: 'VM_SHARED' undeclared (first use in this function)
    drivers/media/video/cafe_ccic.c:1461: error: 'VM_DONTEXPAND' undeclared (first use in this function)
    
    This build breakage is caused by some header file shuffle in linux-next.  But
    I suggest that this patch be merged ahead of linux-next to avoid bisection
    breakage.
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    ec16d020
cafe_ccic.c 56.8 KB