Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Sakari Ailus and committed by
Mauro Carvalho Chehab
8c20ee6e fd2bfdc8

+1 -2
+1
drivers/media/i2c/smiapp-pll.c
··· 16 16 * General Public License for more details. 17 17 */ 18 18 19 + #include <linux/device.h> 19 20 #include <linux/gcd.h> 20 21 #include <linux/lcm.h> 21 22 #include <linux/module.h>
-2
drivers/media/i2c/smiapp-pll.h
··· 19 19 #ifndef SMIAPP_PLL_H 20 20 #define SMIAPP_PLL_H 21 21 22 - #include <linux/device.h> 23 - 24 22 /* CSI-2 or CCP-2 */ 25 23 #define SMIAPP_PLL_BUS_TYPE_CSI2 0x00 26 24 #define SMIAPP_PLL_BUS_TYPE_PARALLEL 0x01