Skip to content

Commit

Permalink
ata: ahci_mvebu: ahci_mvebu_stop_engine() can be static
Browse files Browse the repository at this point in the history
Fixes the following sparse warning:

drivers/ata/ahci_mvebu.c:85:5: warning:
 symbol 'ahci_mvebu_stop_engine' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
  • Loading branch information
Wei Yongjun authored and htejun committed Jun 18, 2018
1 parent fae2a63 commit 95ffcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/ahci_mvebu.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static void ahci_mvebu_regret_option(struct ahci_host_priv *hpriv)
*
* Return: 0 on success; Error code otherwise.
*/
int ahci_mvebu_stop_engine(struct ata_port *ap)
static int ahci_mvebu_stop_engine(struct ata_port *ap)
{
void __iomem *port_mmio = ahci_port_base(ap);
u32 tmp, port_fbs;
Expand Down

0 comments on commit 95ffcf4

Please sign in to comment.