diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-14 09:36:32 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-20 12:08:15 -0500 |
commit | cb616dd5bb6ddadf3e0607696b18055065ce4c3d (patch) | |
tree | c5c47ac17c9f9ebf6c02fb535ddf4438e1fcbc5e /drivers/char/nvram.c | |
parent | 5d9c4a7de64d398604a978d267a6987f1f4025b7 (diff) |
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>
Diffstat (limited to 'drivers/char/nvram.c')
0 files changed, 0 insertions, 0 deletions