hilkbd.c (bdad1f836ab1ca2b18a625222f63f630cfd14e41) | hilkbd.c (53f01bba49938f115237fe43a261c31ac13ae5c6) |
---|---|
1/* 2 * linux/drivers/hil/hilkbd.c 3 * 4 * Copyright (C) 1998 Philip Blundell <philb@gnu.org> 5 * Copyright (C) 1999 Matthew Wilcox <willy@bofh.ai> 6 * Copyright (C) 1999-2003 Helge Deller <deller@gmx.de> 7 * 8 * Very basic HP Human Interface Loop (HIL) driver. --- 264 unchanged lines hidden (view full) --- 273 return 0; 274} 275 276#if defined(CONFIG_PARISC) 277static int __init 278hil_init_chip(struct parisc_device *dev) 279{ 280 if (!dev->irq) { | 1/* 2 * linux/drivers/hil/hilkbd.c 3 * 4 * Copyright (C) 1998 Philip Blundell <philb@gnu.org> 5 * Copyright (C) 1999 Matthew Wilcox <willy@bofh.ai> 6 * Copyright (C) 1999-2003 Helge Deller <deller@gmx.de> 7 * 8 * Very basic HP Human Interface Loop (HIL) driver. --- 264 unchanged lines hidden (view full) --- 273 return 0; 274} 275 276#if defined(CONFIG_PARISC) 277static int __init 278hil_init_chip(struct parisc_device *dev) 279{ 280 if (!dev->irq) { |
281 printk(KERN_WARNING "HIL: IRQ not found for HIL bus at 0x%08lx\n", dev->hpa); | 281 printk(KERN_WARNING "HIL: IRQ not found for HIL bus at 0x%08lx\n", dev->hpa.start); |
282 return -ENODEV; 283 } 284 | 282 return -ENODEV; 283 } 284 |
285 hil_base = dev->hpa; | 285 hil_base = dev->hpa.start; |
286 hil_irq = dev->irq; 287 hil_dev.dev_id = dev; 288 289 printk(KERN_INFO "Found HIL bus at 0x%08lx, IRQ %d\n", hil_base, hil_irq); 290 291 return hil_keyb_init(); 292} 293 --- 50 unchanged lines hidden --- | 286 hil_irq = dev->irq; 287 hil_dev.dev_id = dev; 288 289 printk(KERN_INFO "Found HIL bus at 0x%08lx, IRQ %d\n", hil_base, hil_irq); 290 291 return hil_keyb_init(); 292} 293 --- 50 unchanged lines hidden --- |