]> err.no Git - linux-2.6/blobdiff - drivers/input/serio/hp_sdc.c
[PATCH] ieee80211: fix not allocating IV+ICV space when usingencryption in ieee80211_...
[linux-2.6] / drivers / input / serio / hp_sdc.c
index 045b9a7a9dbbfafbb25201dde3dcfeb17bd96f08..a10348bb25e983e4a69cc16ed648e4f4bc904c90 100644 (file)
@@ -875,9 +875,9 @@ static int __init hp_sdc_init_hppa(struct parisc_device *d)
        hp_sdc.dev              = d;
        hp_sdc.irq              = d->irq;
        hp_sdc.nmi              = d->aux_irq;
-       hp_sdc.base_io          = d->hpa;
-       hp_sdc.data_io          = d->hpa + 0x800;
-       hp_sdc.status_io        = d->hpa + 0x801;
+       hp_sdc.base_io          = d->hpa.start;
+       hp_sdc.data_io          = d->hpa.start + 0x800;
+       hp_sdc.status_io        = d->hpa.start + 0x801;
 
        return hp_sdc_init();
 }