Skip to content

Commit

Permalink
[PARISC] OSS: Fix build of parisc harmony driver
Browse files Browse the repository at this point in the history
OSS Harmony got missed on the conversion of parisc_device.hpa to a
struct resource... fix its build.

Signed-off-by: Stuart Brady <sdb@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
  • Loading branch information
Stuart Brady authored and Kyle McMartin committed Jan 11, 2006
1 parent 5cdb820 commit 49efdd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/oss/harmony.c
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ harmony_driver_probe(struct parisc_device *dev)
}

/* Set the HPA of harmony */
harmony.hpa = (struct harmony_hpa *)dev->hpa;
harmony.hpa = (struct harmony_hpa *)dev->hpa.start;
harmony.dev = dev;

/* Grab the ID and revision from the device */
Expand All @@ -1250,7 +1250,7 @@ harmony_driver_probe(struct parisc_device *dev)

printk(KERN_INFO "Lasi Harmony Audio driver " HARMONY_VERSION ", "
"h/w id %i, rev. %i at 0x%lx, IRQ %i\n",
id, rev, dev->hpa, harmony.dev->irq);
id, rev, dev->hpa.start, harmony.dev->irq);

/* Make sure the control bit isn't set, although I don't think it
ever is. */
Expand Down

0 comments on commit 49efdd4

Please sign in to comment.