aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-pnp.c
diff options
context:
space:
mode:
authorPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>2008-04-26 11:36:40 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 11:36:40 -0400
commit177b8fe9a5f58731e72d5b582a707868e2a29d11 (patch)
tree839d8dab1375ff7c653ececaefc8404f607e3f61 /drivers/ide/ide-pnp.c
parent441e92dae0b64b577ea5a88861e86805f69e13cf (diff)
IDE: Coding Style fixes to drivers/ide/ide-pnp.c
File is now error free. Compile tested. [bart: md5sum checked] Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-pnp.c')
-rw-r--r--drivers/ide/ide-pnp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ide/ide-pnp.c b/drivers/ide/ide-pnp.c
index efc193602bf8..8a178a55a027 100644
--- a/drivers/ide/ide-pnp.c
+++ b/drivers/ide/ide-pnp.c
@@ -11,7 +11,7 @@
11 * 11 *
12 * You should have received a copy of the GNU General Public License 12 * You should have received a copy of the GNU General Public License
13 * (for example /usr/src/linux/COPYING); if not, write to the Free 13 * (for example /usr/src/linux/COPYING); if not, write to the Free
14 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 14 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
15 */ 15 */
16 16
17#include <linux/init.h> 17#include <linux/init.h>
@@ -20,12 +20,12 @@
20 20
21/* Add your devices here :)) */ 21/* Add your devices here :)) */
22static struct pnp_device_id idepnp_devices[] = { 22static struct pnp_device_id idepnp_devices[] = {
23 /* Generic ESDI/IDE/ATA compatible hard disk controller */ 23 /* Generic ESDI/IDE/ATA compatible hard disk controller */
24 {.id = "PNP0600", .driver_data = 0}, 24 {.id = "PNP0600", .driver_data = 0},
25 {.id = ""} 25 {.id = ""}
26}; 26};
27 27
28static int idepnp_probe(struct pnp_dev * dev, const struct pnp_device_id *dev_id) 28static int idepnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id)
29{ 29{
30 hw_regs_t hw; 30 hw_regs_t hw;
31 ide_hwif_t *hwif; 31 ide_hwif_t *hwif;
@@ -47,7 +47,7 @@ static int idepnp_probe(struct pnp_dev * dev, const struct pnp_device_id *dev_id
47 ide_init_port_hw(hwif, &hw); 47 ide_init_port_hw(hwif, &hw);
48 48
49 printk(KERN_INFO "ide%d: generic PnP IDE interface\n", index); 49 printk(KERN_INFO "ide%d: generic PnP IDE interface\n", index);
50 pnp_set_drvdata(dev,hwif); 50 pnp_set_drvdata(dev, hwif);
51 51
52 ide_device_add(idx, NULL); 52 ide_device_add(idx, NULL);
53 53
@@ -57,7 +57,7 @@ static int idepnp_probe(struct pnp_dev * dev, const struct pnp_device_id *dev_id
57 return -1; 57 return -1;
58} 58}
59 59
60static void idepnp_remove(struct pnp_dev * dev) 60static void idepnp_remove(struct pnp_dev *dev)
61{ 61{
62 ide_hwif_t *hwif = pnp_get_drvdata(dev); 62 ide_hwif_t *hwif = pnp_get_drvdata(dev);
63 63