[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 2b84d097cfa5f8f723a413941557dd85d199f1d2..e3348db56c46e2101ed0fcc0b7220800a47068b0 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 77f7ff2ff0f26c524d74368f8402ec131434a198..b98d143b64e1821e31c3dff993918e852c13832b 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