* [PATCH] smia: Fix compile failures
@ 2012-06-14 12:54 Alan Cox
2012-06-15 6:54 ` Sakari Ailus
0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2012-06-14 12:54 UTC (permalink / raw)
To: sakari.ailus, linux-kernel
From: Alan Cox <alan@linux.intel.com>
Fix compile of smia code.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=43337
---
drivers/media/video/smiapp/Kconfig | 2 +-
drivers/media/video/smiapp/smiapp-core.c | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/smiapp/Kconfig b/drivers/media/video/smiapp/Kconfig
index f7b35ff..fb99ff1 100644
--- a/drivers/media/video/smiapp/Kconfig
+++ b/drivers/media/video/smiapp/Kconfig
@@ -1,6 +1,6 @@
config VIDEO_SMIAPP
tristate "SMIA++/SMIA sensor support"
- depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
+ depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAVE_CLK
select VIDEO_SMIAPP_PLL
---help---
This is a generic driver for SMIA++/SMIA camera modules.
diff --git a/drivers/media/video/smiapp/smiapp-core.c b/drivers/media/video/smiapp/smiapp-core.c
index f518026..e8c93c8 100644
--- a/drivers/media/video/smiapp/smiapp-core.c
+++ b/drivers/media/video/smiapp/smiapp-core.c
@@ -32,6 +32,7 @@
#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/regulator/consumer.h>
+#include <linux/slab.h>
#include <linux/v4l2-mediabus.h>
#include <media/v4l2-device.h>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] smia: Fix compile failures
2012-06-14 12:54 [PATCH] smia: Fix compile failures Alan Cox
@ 2012-06-15 6:54 ` Sakari Ailus
0 siblings, 0 replies; 2+ messages in thread
From: Sakari Ailus @ 2012-06-15 6:54 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel
Alan Cox wrote:
> From: Alan Cox <alan@linux.intel.com>
>
> Fix compile of smia code.
>
> Signed-off-by: Alan Cox <alan@linux.intel.com>
> Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=43337
Thanks, Alan! Applied to my tree.
Cheers,
--
Sakari Ailus
sakari.ailus@maxwell.research.nokia.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-15 6:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-14 12:54 [PATCH] smia: Fix compile failures Alan Cox
2012-06-15 6:54 ` Sakari Ailus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox