]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ata: fix sparse warnings in pata_legacy.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 14 Feb 2008 17:36:32 +0000 (09:36 -0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 20 Feb 2008 17:08:15 +0000 (12:08 -0500)
commitcb616dd5bb6ddadf3e0607696b18055065ce4c3d
treec5c47ac17c9f9ebf6c02fb535ddf4438e1fcbc5e
parent5d9c4a7de64d398604a978d267a6987f1f4025b7
ata: fix sparse warnings in pata_legacy.c

Use ld_qdi and ld_winbond to avoid shadowing static int
variables qdi and winbond.  The ld_ prefix refers to
legacy_data.

drivers/ata/pata_legacy.c:777:21: warning: symbol 'qdi' shadows an earlier one
drivers/ata/pata_legacy.c:128:12: originally declared here
drivers/ata/pata_legacy.c:811:21: warning: symbol 'qdi' shadows an earlier one
drivers/ata/pata_legacy.c:128:12: originally declared here
drivers/ata/pata_legacy.c:848:21: warning: symbol 'qdi' shadows an earlier one
drivers/ata/pata_legacy.c:128:12: originally declared here
drivers/ata/pata_legacy.c:882:21: warning: symbol 'qdi' shadows an earlier one
drivers/ata/pata_legacy.c:128:12: originally declared here
drivers/ata/pata_legacy.c:1040:21: warning: symbol 'winbond' shadows an earlier one
drivers/ata/pata_legacy.c:129:12: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_legacy.c