ahci: make ahci_transmit_led_message into a function pointer
authorMark Langsdorf <mark.langsdorf@calxeda.com>
Thu, 30 May 2013 20:17:30 +0000 (15:17 -0500)
committerTejun Heo <tj@kernel.org>
Thu, 6 Jun 2013 21:05:23 +0000 (14:05 -0700)
commit439d7a358f93a52458527329939be9f97db1242a
tree3b0079402a011a1d568ab4046351a355052474ff
parent0a86e1c857134efe2cdb31d74bc7ea21721db494
ahci: make ahci_transmit_led_message into a function pointer

Create a new ata_port_operations function pointer called
transmit_led_message and give it the default value of
ahci_transmit_led_message. This allows AHCI controllers with
non-standard LED interfaces to use the existing em_ interface.

Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libahci.c
include/linux/libata.h