]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/ata/ahci.c
ahci: Move interrupt enablement code to a separate function
authorRobert Richter <rrichter@cavium.com>
Sun, 31 May 2015 11:55:17 +0000 (13:55 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 3 Jun 2015 05:37:49 +0000 (01:37 -0400)
commita1c823117894ed79943a87b1c718139cc1be1b6a
treeb819a9d30ca8827b8ee7d67a55d001bba7a7eed9
parent8485187b5e458d17d63a597484391b98bbcdbb7b
ahci: Move interrupt enablement code to a separate function

This patch refactors ahci_init_interrupts() and moves msi code to a
separate function. Need the split since we add msix initialization in
a later patch. The initialization for msix will be done after msi but
before intx.

Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci.c