bus: mhi: Move common MHI definitions out of host directory
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 1 Mar 2022 16:03:07 +0000 (21:33 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Mar 2022 13:02:55 +0000 (14:02 +0100)
commit8485149c7a84bbe9d2646b1d6b465d34dbf7ee02
tree25ce5bd6dd369d1acd09f1b30507426c55ea5865
parent84f5f31f110e5e8cd5581e8efdbf8c369e962eb9
bus: mhi: Move common MHI definitions out of host directory

Move the common MHI definitions in host "internal.h" to "common.h" so
that the endpoint code can make use of them. This also avoids
duplicating the definitions in the endpoint stack.

Reviewed-by: Hemant Kumar <hemantk@codeaurora.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20220301160308.107452-10-manivannan.sadhasivam@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/mhi/common.h [new file with mode: 0644]
drivers/bus/mhi/host/internal.h