]> git.baikalelectronics.ru Git - kernel.git/commit
libahci_platform: Staticize ahci_platform_<en/dis>able_phys()
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 30 Aug 2014 19:39:09 +0000 (16:39 -0300)
committerTejun Heo <tj@kernel.org>
Sun, 31 Aug 2014 03:58:29 +0000 (23:58 -0400)
commitd8d701c2c5c5ac117c3e1c8fc2088b35946993e2
tree1ce4c091ee89def3eb4122982131905843eae7d3
parent0efb977251fa8f35043d47e7c66a76a69afcc71d
libahci_platform: Staticize ahci_platform_<en/dis>able_phys()

ahci_platform_enable_phys() and ahci_platform_disable_phys() are currently
exported, but they are not used anywhere else other than libahci_platform.c.

So make them static and do not export them to fix the following sparse
warnings:

drivers/ata/libahci_platform.c:52:5: warning: symbol 'ahci_platform_enable_phys' was not declared. Should it be static?
drivers/ata/libahci_platform.c:88:6: warning: symbol 'ahci_platform_disable_phys' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libahci_platform.c