summaryrefslogtreecommitdiff
path: root/drivers/ahci.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-08-14 14:36:29 (GMT)
committerStefan Roese <sr@denx.de>2007-08-14 14:36:29 (GMT)
commit3b3bff4cbf2cb14f9a3e7d03f26ebab900efe4ae (patch)
treefb66bf8861d9f78765160d734a438856f5317cdb /drivers/ahci.c
parent4ce846ec59f36b85d6644a769690ad3feb667575 (diff)
parent4ef35e53c693556c54b0c22d6f873de87bade253 (diff)
downloadu-boot-3b3bff4cbf2cb14f9a3e7d03f26ebab900efe4ae.tar.xz
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'drivers/ahci.c')
-rw-r--r--drivers/ahci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ahci.c b/drivers/ahci.c
index 8ceff00..ccd4d71 100644
--- a/drivers/ahci.c
+++ b/drivers/ahci.c
@@ -253,7 +253,8 @@ static void ahci_print_info(struct ahci_probe_ent *probe_ent)
static int ahci_init_one(pci_dev_t pdev)
{
- u32 iobase, vendor;
+ u32 iobase;
+ u16 vendor;
int rc;
memset((void *)ataid, 0, sizeof(hd_driveid_t *) * AHCI_MAX_PORTS);