misc: Removed warnings from MAX1749 driver
Philip Rakity [Mon, 8 Jul 2013 18:54:28 +0000 (19:54 +0100)]
Change-Id: I416a44a7188d36f2b014b0905d77dd89d5489a44
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246211
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Eric Miao <emiao@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

drivers/misc/max1749.c

index 353fe9d..55b7628 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Driver for MAX1749, vibrator motor driver.
  *
- * Copyright (c) 2011-2012 NVIDIA Corporation, All Rights Reserved.
+ * Copyright (c) 2011-2013 NVIDIA Corporation, 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 as published by
@@ -27,6 +27,7 @@
 #include <linux/err.h>
 #include <linux/hrtimer.h>
 #include <linux/delay.h>
+#include <linux/workqueue.h>
 
 #include <linux/slab.h>
 
@@ -63,7 +64,7 @@ static void vibrator_stop(void)
        }
 }
 
-static void vibrator_work_func(unsigned long data)
+static void vibrator_work_func(struct work_struct *work)
 {
        vibrator_stop();
 }