• T
    libata: make PMP support optional · 88fcd562
    Tejun Heo 提交于
    Make PMP support optional by adding CONFIG_SATA_PMP and leaving out
    libata-pmp.c if it isn't set.  PMP helpers return constant values if
    PMP support is not enabled and PMP declarations alias non-PMP
    counterparts.  This makes the compiler to leave out PMP related part
    out and LLDs to use non-PMP counterparts automatically.
    Signed-off-by: NTejun Heo <htejun@gmail.com>
    88fcd562
libata.h 9.6 KB