projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1e143c
)
pata_scc: fix compilation
author
Alexey Dobriyan
<adobriyan@gmail.com>
Thu, 3 May 2007 19:44:59 +0000
(23:44 +0400)
committer
Jeff Garzik
<jeff@garzik.org>
Thu, 10 May 2007 00:15:46 +0000
(20:15 -0400)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_scc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/pata_scc.c
b/drivers/ata/pata_scc.c
index 5df354d573e8183c5174b8049bbf69b9860b7fb8..203f463ac39f8dc3ca0e4fd6ae595a564b6901ba 100644
(file)
--- a/
drivers/ata/pata_scc.c
+++ b/
drivers/ata/pata_scc.c
@@
-1142,14
+1142,14
@@
static int scc_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
static int printed_version;
unsigned int board_idx = (unsigned int) ent->driver_data;
const struct ata_port_info *ppi[] = { &scc_port_info[board_idx], NULL };
- struct
device *dev = &pdev->dev
;
+ struct
ata_host *host
;
int rc;
if (!printed_version++)
dev_printk(KERN_DEBUG, &pdev->dev,
"version " DRV_VERSION "\n");
- host = ata_
por
t_alloc_pinfo(&pdev->dev, ppi, 1);
+ host = ata_
hos
t_alloc_pinfo(&pdev->dev, ppi, 1);
if (!host)
return -ENOMEM;