soc: qcom: Bring in qpnp-misc driver
qpnp-misc driver supports accessing MISC peripheral registers
in certain PMICs. Bring that in.
This snapshot is taken as of msm-4.4
'commit 9af69213de64 ("Merge "block: Move bdi_unregister() to
del_gendisk()"")'
Fixed a couple of minor issues to solve checkpatch errors.
- Use const qualifier for qpnp_misc_match_table
- Fixed a block comment
Also, moved the location of qpnp-misc.h from include/linux to
include/linux/qpnp.
Change-Id: Iad670e41cc9b95725cf0c651c835a782314f0015
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index 19f9e1d..dd12e9a 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -53,6 +53,7 @@
obj-$(CONFIG_VEXPRESS_SYSCFG) += vexpress-syscfg.o
obj-$(CONFIG_CXL_BASE) += cxl/
obj-$(CONFIG_PANEL) += panel.o
+obj-$(CONFIG_QPNP_MISC) += qpnp-misc.o
obj-y += qcom/
obj-$(CONFIG_MEMORY_STATE_TIME) += memory_state_time.o