diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-28 13:08:46 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-28 13:08:46 -0400 |
| commit | 8ed575904373d7aaab7f15a8db2edc317a44df43 (patch) | |
| tree | 3b2e92a396a1bbec8e1fb499f25e8aed93ab5692 /drivers/parisc/asp.c | |
| parent | 27d1097d39509494706eaa2620ef3b1e780a3224 (diff) | |
| parent | 210cc679faf0e1cabda9fc5d1279644f5e52aecb (diff) | |
Merge branch 'forlinus' of git://parisc-linux.org/home/kyle/git/parisc-2.6
Diffstat (limited to 'drivers/parisc/asp.c')
| -rw-r--r-- | drivers/parisc/asp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/parisc/asp.c b/drivers/parisc/asp.c index 388609967133..558420bc9f88 100644 --- a/drivers/parisc/asp.c +++ b/drivers/parisc/asp.c | |||
| @@ -77,12 +77,12 @@ asp_init_chip(struct parisc_device *dev) | |||
| 77 | struct gsc_irq gsc_irq; | 77 | struct gsc_irq gsc_irq; |
| 78 | int ret; | 78 | int ret; |
| 79 | 79 | ||
| 80 | asp.version = gsc_readb(dev->hpa + ASP_VER_OFFSET) & 0xf; | 80 | asp.version = gsc_readb(dev->hpa.start + ASP_VER_OFFSET) & 0xf; |
| 81 | asp.name = (asp.version == 1) ? "Asp" : "Cutoff"; | 81 | asp.name = (asp.version == 1) ? "Asp" : "Cutoff"; |
| 82 | asp.hpa = ASP_INTERRUPT_ADDR; | 82 | asp.hpa = ASP_INTERRUPT_ADDR; |
| 83 | 83 | ||
| 84 | printk(KERN_INFO "%s version %d at 0x%lx found.\n", | 84 | printk(KERN_INFO "%s version %d at 0x%lx found.\n", |
| 85 | asp.name, asp.version, dev->hpa); | 85 | asp.name, asp.version, dev->hpa.start); |
| 86 | 86 | ||
| 87 | /* the IRQ ASP should use */ | 87 | /* the IRQ ASP should use */ |
| 88 | ret = -EBUSY; | 88 | ret = -EBUSY; |
| @@ -126,7 +126,7 @@ static struct parisc_device_id asp_tbl[] = { | |||
| 126 | }; | 126 | }; |
| 127 | 127 | ||
| 128 | struct parisc_driver asp_driver = { | 128 | struct parisc_driver asp_driver = { |
| 129 | .name = "Asp", | 129 | .name = "asp", |
| 130 | .id_table = asp_tbl, | 130 | .id_table = asp_tbl, |
| 131 | .probe = asp_init_chip, | 131 | .probe = asp_init_chip, |
| 132 | }; | 132 | }; |
