msm: xo-fsm9xxx: Fix compilation error
pr_fmt should be defined before the includes
Acked-by: Kaushik Sikdar <ksikdar@qualcomm.com>
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
diff --git a/arch/arm/mach-msm/xo-fsm9xxx.c b/arch/arm/mach-msm/xo-fsm9xxx.c
index a00fb2f..83b9a88 100644
--- a/arch/arm/mach-msm/xo-fsm9xxx.c
+++ b/arch/arm/mach-msm/xo-fsm9xxx.c
@@ -10,6 +10,8 @@
* GNU General Public License for more details.
*/
+#define pr_fmt(fmt) "%s: " fmt, __func__
+
#include <linux/init.h>
#include <linux/module.h>
#include <linux/fs.h>
@@ -27,8 +29,6 @@
#define FSM_XO_DEVICE_READY 0x01
#define FSM_XO_DEVICE_OFF 0x00
-#define pr_fmt(fmt) "%s: " fmt, __func__
-
/* enum for TCXO clock output buffer definition */
enum clk_buffer_type {
XO_BUFFER_A0 = 0,