mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2025-01-06 03:31:00 +00:00
[PARISC] OSS: Fix build of parisc harmony driver
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>
This commit is contained in:
parent
5cdb8205e9
commit
49efdd46ee
@ -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 */
|
||||
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user