aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc/dino.c
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@parisc-linux.org>2005-10-21 22:36:40 -0400
committerKyle McMartin <kyle@parisc-linux.org>2005-10-21 22:36:40 -0400
commit53f01bba49938f115237fe43a261c31ac13ae5c6 (patch)
treedf2a5fa9d95c7e69447ac0c89d6e149888c9bd1c /drivers/parisc/dino.c
parentbdad1f836ab1ca2b18a625222f63f630cfd14e41 (diff)
[PARISC] Convert parisc_device to use struct resource for hpa
Convert pa_dev->hpa from an unsigned long to a struct resource. Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Fix up users of ->hpa to use ->hpa.start instead. Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'drivers/parisc/dino.c')
-rw-r--r--drivers/parisc/dino.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c
index 8c61705e67a5..37820b0ae5ee 100644
--- a/drivers/parisc/dino.c
+++ b/drivers/parisc/dino.c
@@ -902,15 +902,15 @@ void ccio_cujo20_fixup(struct parisc_device *dev, u32 iovp);
902** If so, initialize the chip appropriately (card-mode vs bridge mode). 902** If so, initialize the chip appropriately (card-mode vs bridge mode).
903** Much of the initialization is common though. 903** Much of the initialization is common though.
904*/ 904*/
905static int __init 905static int __init dino_probe(struct parisc_device *dev)
906dino_driver_callback(struct parisc_device *dev)
907{ 906{
908 struct dino_device *dino_dev; // Dino specific control struct 907 struct dino_device *dino_dev; // Dino specific control struct
909 const char *version = "unknown"; 908 const char *version = "unknown";
910 char *name; 909 char *name;
911 int is_cujo = 0; 910 int is_cujo = 0;
912 struct pci_bus *bus; 911 struct pci_bus *bus;
913 912 unsigned long hpa = dev->hpa.start;
913
914 name = "Dino"; 914 name = "Dino";
915 if (is_card_dino(&dev->id)) { 915 if (is_card_dino(&dev->id)) {
916 version = "3.x (card mode)"; 916 version = "3.x (card mode)";