Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181688
b: refs/heads/master
c: 6b727c6
h: refs/heads/master
v: v3
  • Loading branch information
Antonio Ospite authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 987a465 commit 83984dd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 81355e40826acea76274c2ef5ff7d156ff28d183
refs/heads/master: 6b727c68ea7083acd008da7c9734a19a4cdd52dc
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-pxa/include/mach/camera.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
#define PXA_CAMERA_VSP 0x400

struct pxacamera_platform_data {
int (*init)(struct device *);

unsigned long flags;
unsigned long mclk_10khz;
};
Expand Down
10 changes: 0 additions & 10 deletions trunk/drivers/media/video/pxa_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -898,18 +898,8 @@ static void recalculate_fifo_timeout(struct pxa_camera_dev *pcdev,

static void pxa_camera_activate(struct pxa_camera_dev *pcdev)
{
struct pxacamera_platform_data *pdata = pcdev->pdata;
struct device *dev = pcdev->soc_host.v4l2_dev.dev;
u32 cicr4 = 0;

dev_dbg(dev, "Registered platform device at %p data %p\n",
pcdev, pdata);

if (pdata && pdata->init) {
dev_dbg(dev, "%s: Init gpios\n", __func__);
pdata->init(dev);
}

/* disable all interrupts */
__raw_writel(0x3ff, pcdev->base + CICR0);

Expand Down

0 comments on commit 83984dd

Please sign in to comment.