diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2014-10-18 11:16:20 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-12-23 14:29:01 +0100 |
commit | 8c20ee6e92e435609f8d7dd0c2b4b77c8dbb3f18 (patch) | |
tree | eb4e2b4718f9f2fbec7d83407a0fdf581fa59787 /drivers/media/i2c | |
parent | [media] smiapp: List include/uapi/linux/smiapp.h in MAINTAINERS (diff) | |
download | linux-8c20ee6e92e435609f8d7dd0c2b4b77c8dbb3f18.tar.xz linux-8c20ee6e92e435609f8d7dd0c2b4b77c8dbb3f18.zip |
[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>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r-- | drivers/media/i2c/smiapp-pll.c | 1 | ||||
-rw-r--r-- | drivers/media/i2c/smiapp-pll.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/i2c/smiapp-pll.c b/drivers/media/i2c/smiapp-pll.c index 2b84d097cfa5..e3348db56c46 100644 --- a/drivers/media/i2c/smiapp-pll.c +++ b/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> diff --git a/drivers/media/i2c/smiapp-pll.h b/drivers/media/i2c/smiapp-pll.h index 77f7ff2ff0f2..b98d143b64e1 100644 --- a/drivers/media/i2c/smiapp-pll.h +++ b/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 |