Skip to content

Commit

Permalink
V4L/DVB (10176b): pxa-camera: fix redefinition warnings and missing D…
Browse files Browse the repository at this point in the history
…MA definitions

1. now pxa_camera.c uses ioremap() for register access, pxa_camera.h is
   totally useless. Remove it.

2. <asm/dma.h> does no longer include <mach/dma.h>, include the latter
   file explicitly

 delete mode 100644 drivers/media/video/pxa_camera.h

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Eric Miao authored and Mauro Carvalho Chehab committed Jan 8, 2009
1 parent c0cd501 commit cfbaf4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 98 deletions.
4 changes: 1 addition & 3 deletions drivers/media/video/pxa_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@

#include <linux/videodev2.h>

#include <asm/dma.h>
#include <mach/dma.h>
#include <mach/pxa-regs.h>
#include <mach/camera.h>

#include "pxa_camera.h"

#define PXA_CAM_VERSION_CODE KERNEL_VERSION(0, 0, 5)
#define PXA_CAM_DRV_NAME "pxa27x-camera"

Expand Down
95 changes: 0 additions & 95 deletions drivers/media/video/pxa_camera.h

This file was deleted.

0 comments on commit cfbaf4d

Please sign in to comment.