lkml.org 
[lkml]   [2014]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] ata: ahci_tegra: Change include to fix compilation
    Date
    Before this patch, the driver included <linux/tegra-powergate.h>,
    which was effectively renamed to <soc/tegra/pmc.h> at about the same
    time the ahci_tegra series landed. Fix the include path so that the
    driver compiles.

    Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
    ---
    This would be for 3.17.

    drivers/ata/ahci_tegra.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/ata/ahci_tegra.c b/drivers/ata/ahci_tegra.c
    index fc3df47..f1fef74 100644
    --- a/drivers/ata/ahci_tegra.c
    +++ b/drivers/ata/ahci_tegra.c
    @@ -24,8 +24,8 @@
    #include <linux/module.h>
    #include <linux/of_device.h>
    #include <linux/platform_device.h>
    -#include <linux/tegra-powergate.h>
    #include <linux/regulator/consumer.h>
    +#include <soc/tegra/pmc.h>
    #include "ahci.h"

    #define SATA_CONFIGURATION_0 0x180
    --
    1.8.1.5


    \
     
     \ /
      Last update: 2014-08-11 12:21    [W:4.343 / U:0.604 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site