diag: Add snapshot of Diag

This snapshot is taken as of msm-4.4 commit <e2787f510d> Merge
"ARM: dts: msm: change UFS/SDHC2 power supply for msmcobalt
interposer QRD"

Remove references to SMD and fix code style warnings and errors.

CRs-Fixed: 1092890
Change-Id: Id5903c391446c8f908a4efc0651df08e3c302d1a
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
Signed-off-by: Chris Lew <clew@codeaurora.org>
diff --git a/drivers/char/Makefile b/drivers/char/Makefile
index 6e6c244..60653fd 100644
--- a/drivers/char/Makefile
+++ b/drivers/char/Makefile
@@ -58,5 +58,6 @@
 js-rtc-y = rtc.o
 
 obj-$(CONFIG_TILE_SROM)		+= tile-srom.o
+obj-$(CONFIG_DIAG_CHAR)		+= diag/
 obj-$(CONFIG_XILLYBUS)		+= xillybus/
 obj-$(CONFIG_POWERNV_OP_PANEL)	+= powernv-op-panel.o