Selaa lähdekoodia

[media] smiapp-pll: include linux/device.h in smiapp-pll.c, not in smiapp-pll.h

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>
Sakari Ailus 10 vuotta sitten
vanhempi
commit
8c20ee6e92
2 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 0
      drivers/media/i2c/smiapp-pll.c
  2. 0 2
      drivers/media/i2c/smiapp-pll.h

+ 1 - 0
drivers/media/i2c/smiapp-pll.c

@@ -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>

+ 0 - 2
drivers/media/i2c/smiapp-pll.h

@@ -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