]> err.no Git - linux-2.6/commit
libata: separate PMP support code from core code
authorTejun Heo <htejun@gmail.com>
Mon, 7 Apr 2008 13:47:21 +0000 (22:47 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 19:44:25 +0000 (15:44 -0400)
commit48515f6c006c2a9d7b624ee8ad068018c2d3fe0e
tree0ade033552ccb297ac7736a6b2d77dd249be4eb8
parent127102aea2ea9ec4e9ca233e2b1a75c8d3b058c4
libata: separate PMP support code from core code

Most of PMP support code is already in libata-pmp.c.  All that are in
libata-core.c are sata_pmp_port_ops and EXPORTs.  Move them to
libata-pmp.c.  Also, collect PMP related prototypes and declarations
in header files and move them right above of SFF stuff.

This change is to make PMP support optional.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/ata/libata-core.c
drivers/ata/libata-pmp.c
drivers/ata/libata.h
include/linux/libata.h