htcpen.c (1cb0aa88179b7a71c240529e9d781d7bbb43d2e8) | htcpen.c (5298cc4cc753bbe4c530b41341834f6ef3344d0d) |
---|---|
1/* 2 * HTC Shift touchscreen driver 3 * 4 * Copyright (C) 2008 Pau Oliva Fora <pof@eslack.org> 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License version 2 as published 8 * by the Free Software Foundation. --- 88 unchanged lines hidden (view full) --- 97} 98 99static void htcpen_close(struct input_dev *dev) 100{ 101 outb_p(DEVICE_DISABLE, HTCPEN_PORT_INIT); 102 synchronize_irq(HTCPEN_IRQ); 103} 104 | 1/* 2 * HTC Shift touchscreen driver 3 * 4 * Copyright (C) 2008 Pau Oliva Fora <pof@eslack.org> 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License version 2 as published 8 * by the Free Software Foundation. --- 88 unchanged lines hidden (view full) --- 97} 98 99static void htcpen_close(struct input_dev *dev) 100{ 101 outb_p(DEVICE_DISABLE, HTCPEN_PORT_INIT); 102 synchronize_irq(HTCPEN_IRQ); 103} 104 |
105static int __devinit htcpen_isa_probe(struct device *dev, unsigned int id) | 105static int htcpen_isa_probe(struct device *dev, unsigned int id) |
106{ 107 struct input_dev *htcpen_dev; 108 int err = -EBUSY; 109 110 if (!request_region(HTCPEN_PORT_IRQ_CLEAR, 1, "htcpen")) { 111 printk(KERN_ERR "htcpen: unable to get IO region 0x%x\n", 112 HTCPEN_PORT_IRQ_CLEAR); 113 goto request_region1_failed; --- 137 unchanged lines hidden --- | 106{ 107 struct input_dev *htcpen_dev; 108 int err = -EBUSY; 109 110 if (!request_region(HTCPEN_PORT_IRQ_CLEAR, 1, "htcpen")) { 111 printk(KERN_ERR "htcpen: unable to get IO region 0x%x\n", 112 HTCPEN_PORT_IRQ_CLEAR); 113 goto request_region1_failed; --- 137 unchanged lines hidden --- |