Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129944
b: refs/heads/master
c: ef183f6
h: refs/heads/master
v: v3
  • Loading branch information
David Brownell authored and Bartlomiej Zolnierkiewicz committed Jan 19, 2009
1 parent f808f9b commit 571e51c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 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: abb8817967cc080ee024f7d1a3d5a9830074ca1c
refs/heads/master: ef183f6b5982aa10499432a0cb243c92ce623512
11 changes: 7 additions & 4 deletions trunk/drivers/ide/palm_bk3710.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ static int __init palm_bk3710_probe(struct platform_device *pdev)
{
struct clk *clk;
struct resource *mem, *irq;
unsigned long base, rate;
void __iomem *base;
unsigned long rate;
int i, rc;
hw_regs_t hw, *hws[] = { &hw, NULL, NULL, NULL };

Expand Down Expand Up @@ -382,11 +383,13 @@ static int __init palm_bk3710_probe(struct platform_device *pdev)
base = IO_ADDRESS(mem->start);

/* Configure the Palm Chip controller */
palm_bk3710_chipinit((void __iomem *)base);
palm_bk3710_chipinit(base);

for (i = 0; i < IDE_NR_PORTS - 2; i++)
hw.io_ports_array[i] = base + IDE_PALM_ATA_PRI_REG_OFFSET + i;
hw.io_ports.ctl_addr = base + IDE_PALM_ATA_PRI_CTL_OFFSET;
hw.io_ports_array[i] = (unsigned long)
(base + IDE_PALM_ATA_PRI_REG_OFFSET + i);
hw.io_ports.ctl_addr = (unsigned long)
(base + IDE_PALM_ATA_PRI_CTL_OFFSET);
hw.irq = irq->start;
hw.dev = &pdev->dev;
hw.chipset = ide_palm3710;
Expand Down

0 comments on commit 571e51c

Please sign in to comment.