[media] smiapp-pll: include linux/device.h in smiapp-pll.c, not in smiapp-pll.h
authorSakari Ailus <sakari.ailus@iki.fi>
Sat, 18 Oct 2014 09:16:20 +0000 (06:16 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Dec 2014 13:29:01 +0000 (11:29 -0200)
struct device has a forward declaration in the header already. The header is
only needed in the .c file.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/smiapp-pll.c
drivers/media/i2c/smiapp-pll.h

index 2b84d09..e3348db 100644 (file)
@@ -16,6 +16,7 @@
  * General Public License for more details.
  */
 
+#include <linux/device.h>
 #include <linux/gcd.h>
 #include <linux/lcm.h>
 #include <linux/module.h>
index 77f7ff2..b98d143 100644 (file)
@@ -19,8 +19,6 @@
 #ifndef SMIAPP_PLL_H
 #define SMIAPP_PLL_H
 
-#include <linux/device.h>
-
 /* CSI-2 or CCP-2 */
 #define SMIAPP_PLL_BUS_TYPE_CSI2                               0x00
 #define SMIAPP_PLL_BUS_TYPE_PARALLEL                           0x01