Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 565eb49e authored by Rama Krishna Phani A's avatar Rama Krishna Phani A Committed by Gustavo Solaira
Browse files

msm: mhi_dev: Reorganize the mhi header file



Reorganize the mhi header file.

Change-Id: If21a778ee7f5935b9fbe257fbb4f3cc5a9944778
Signed-off-by: default avatarRama Krishna Phani A <rphani@codeaurora.org>
parent 111bb652
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
#include <linux/vmalloc.h>
#include <linux/wakelock.h>

#include "mhi.h"
#include <linux/msm_mhi_dev.h>
#include "mhi_hwio.h"
#include "mhi_sm.h"

+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -26,7 +26,7 @@
#include <linux/errno.h>
#include <linux/ktime.h>

#include "mhi.h"
#include <linux/msm_mhi_dev.h>

#define MHI_NET_DRIVER_NAME  "mhi_dev_net_drv"
#define MHI_NET_DEV_NAME     "mhi_dev_net%d"
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2015, 2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015, 2017-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -25,7 +25,7 @@
#include <linux/completion.h>
#include <linux/platform_device.h>

#include "mhi.h"
#include <linux/msm_mhi_dev.h>
#include "mhi_hwio.h"

int mhi_dev_mmio_read(struct mhi_dev *dev, uint32_t offset,
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
#include <linux/completion.h>
#include <linux/platform_device.h>

#include "mhi.h"
#include <linux/msm_mhi_dev.h>

static uint32_t mhi_dev_ring_addr2ofst(struct mhi_dev_ring *ring, uint64_t p)
{
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2015,2017 The Linux Foundation. All rights reserved.
/* Copyright (c) 2015,2017-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -13,7 +13,7 @@
#ifndef MHI_SM_H
#define MHI_SM_H

#include "mhi.h"
#include <linux/msm_mhi_dev.h>
#include <linux/slab.h>
#include <linux/msm_ep_pcie.h>

Loading