summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-eh.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-04-17 03:04:41 +0200
committerJeff Garzik <jgarzik@redhat.com>2012-07-25 21:14:55 +0200
commitb0e73af78a1ceeeabf2bb30e798ecf55243edba8 (patch)
tree3c0283e5fb294cb7ecbb9a386aefd88ea86a04fd /drivers/ata/libata-eh.c
parentsata_dwc_460ex: support hardreset (diff)
downloadlinux-b0e73af78a1ceeeabf2bb30e798ecf55243edba8.tar.xz
linux-b0e73af78a1ceeeabf2bb30e798ecf55243edba8.zip
libata-transport.c: local functions should not be exposed globally
Functions not referenced outside of a source file should be marked static to prevent it from being exposed globally. This quiets the sparse warnings: warning: symbol 'ata_is_port' was not declared. Should it be static? warning: symbol 'ata_is_link' was not declared. Should it be static? warning: symbol 'ata_is_ata_dev' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-eh.c')
0 files changed, 0 insertions, 0 deletions