linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH resend] input: fix sur40.c dependency/build errors
@ 2015-07-10 15:15 Randy Dunlap
  2015-07-10 17:03 ` Dmitry Torokhov
  0 siblings, 1 reply; 6+ messages in thread
From: Randy Dunlap @ 2015-07-10 15:15 UTC (permalink / raw)
  To: linux-input@vger.kernel.org, LKML, Dmitry Torokhov; +Cc: Florian floe Echtler

From: Randy Dunlap <rdunlap@infradead.org>

Fix build errors due to missing Kconfig dependency.

drivers/built-in.o: In function `sur40_disconnect':
sur40.c:(.text+0x22be6e): undefined reference to `video_unregister_device'
sur40.c:(.text+0x22be77): undefined reference to `v4l2_device_unregister'
drivers/built-in.o: In function `sur40_process_video':
sur40.c:(.text+0x22c1d4): undefined reference to `v4l2_get_timestamp'
drivers/built-in.o: In function `sur40_probe':
sur40.c:(.text+0x22ca82): undefined reference to `v4l2_device_register'
sur40.c:(.text+0x22cb1a): undefined reference to `v4l2_device_unregister'
sur40.c:(.text+0x22cbf7): undefined reference to `video_device_release_empty'
sur40.c:(.text+0x22cc53): undefined reference to `__video_register_device'
sur40.c:(.text+0x22cc90): undefined reference to `video_unregister_device'
drivers/built-in.o: In function `sur40_vidioc_querycap':
sur40.c:(.text+0x22ccb0): undefined reference to `video_devdata'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
 drivers/input/touchscreen/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20150710.orig/drivers/input/touchscreen/Kconfig
+++ linux-next-20150710/drivers/input/touchscreen/Kconfig
@@ -993,6 +993,7 @@ config TOUCHSCREEN_SUN4I
 config TOUCHSCREEN_SUR40
 	tristate "Samsung SUR40 (Surface 2.0/PixelSense) touchscreen"
 	depends on USB && MEDIA_USB_SUPPORT && HAS_DMA
+	depends on VIDEO_V4L2
 	select INPUT_POLLDEV
 	select VIDEOBUF2_DMA_SG
 	help

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH resend] input: fix sur40.c dependency/build errors
  2015-07-10 15:15 [PATCH resend] input: fix sur40.c dependency/build errors Randy Dunlap
@ 2015-07-10 17:03 ` Dmitry Torokhov
  2015-07-10 17:08   ` Dmitry Torokhov
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Torokhov @ 2015-07-10 17:03 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-input@vger.kernel.org, LKML, Florian floe Echtler

On Fri, Jul 10, 2015 at 08:15:57AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Fix build errors due to missing Kconfig dependency.
> 
> drivers/built-in.o: In function `sur40_disconnect':
> sur40.c:(.text+0x22be6e): undefined reference to `video_unregister_device'
> sur40.c:(.text+0x22be77): undefined reference to `v4l2_device_unregister'
> drivers/built-in.o: In function `sur40_process_video':
> sur40.c:(.text+0x22c1d4): undefined reference to `v4l2_get_timestamp'
> drivers/built-in.o: In function `sur40_probe':
> sur40.c:(.text+0x22ca82): undefined reference to `v4l2_device_register'
> sur40.c:(.text+0x22cb1a): undefined reference to `v4l2_device_unregister'
> sur40.c:(.text+0x22cbf7): undefined reference to `video_device_release_empty'
> sur40.c:(.text+0x22cc53): undefined reference to `__video_register_device'
> sur40.c:(.text+0x22cc90): undefined reference to `video_unregister_device'
> drivers/built-in.o: In function `sur40_vidioc_querycap':
> sur40.c:(.text+0x22ccb0): undefined reference to `video_devdata'
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>

Applied, thank you.

> ---
>  drivers/input/touchscreen/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-next-20150710.orig/drivers/input/touchscreen/Kconfig
> +++ linux-next-20150710/drivers/input/touchscreen/Kconfig
> @@ -993,6 +993,7 @@ config TOUCHSCREEN_SUN4I
>  config TOUCHSCREEN_SUR40
>  	tristate "Samsung SUR40 (Surface 2.0/PixelSense) touchscreen"
>  	depends on USB && MEDIA_USB_SUPPORT && HAS_DMA
> +	depends on VIDEO_V4L2
>  	select INPUT_POLLDEV
>  	select VIDEOBUF2_DMA_SG
>  	help

-- 
Dmitry

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH resend] input: fix sur40.c dependency/build errors
  2015-07-10 17:03 ` Dmitry Torokhov
@ 2015-07-10 17:08   ` Dmitry Torokhov
  2015-10-17 17:13     ` Dmitry Torokhov
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Torokhov @ 2015-07-10 17:08 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-input@vger.kernel.org, LKML, Florian floe Echtler,
	Mauro Carvalho Chehab

On Fri, Jul 10, 2015 at 10:03:28AM -0700, Dmitry Torokhov wrote:
> On Fri, Jul 10, 2015 at 08:15:57AM -0700, Randy Dunlap wrote:
> > From: Randy Dunlap <rdunlap@infradead.org>
> > 
> > Fix build errors due to missing Kconfig dependency.
> > 
> > drivers/built-in.o: In function `sur40_disconnect':
> > sur40.c:(.text+0x22be6e): undefined reference to `video_unregister_device'
> > sur40.c:(.text+0x22be77): undefined reference to `v4l2_device_unregister'
> > drivers/built-in.o: In function `sur40_process_video':
> > sur40.c:(.text+0x22c1d4): undefined reference to `v4l2_get_timestamp'
> > drivers/built-in.o: In function `sur40_probe':
> > sur40.c:(.text+0x22ca82): undefined reference to `v4l2_device_register'
> > sur40.c:(.text+0x22cb1a): undefined reference to `v4l2_device_unregister'
> > sur40.c:(.text+0x22cbf7): undefined reference to `video_device_release_empty'
> > sur40.c:(.text+0x22cc53): undefined reference to `__video_register_device'
> > sur40.c:(.text+0x22cc90): undefined reference to `video_unregister_device'
> > drivers/built-in.o: In function `sur40_vidioc_querycap':
> > sur40.c:(.text+0x22ccb0): undefined reference to `video_devdata'
> > 
> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> 
> Applied, thank you.

Actually, Mauro, can this go through media tree for now?

> 
> > ---
> >  drivers/input/touchscreen/Kconfig |    1 +
> >  1 file changed, 1 insertion(+)
> > 
> > --- linux-next-20150710.orig/drivers/input/touchscreen/Kconfig
> > +++ linux-next-20150710/drivers/input/touchscreen/Kconfig
> > @@ -993,6 +993,7 @@ config TOUCHSCREEN_SUN4I
> >  config TOUCHSCREEN_SUR40
> >  	tristate "Samsung SUR40 (Surface 2.0/PixelSense) touchscreen"
> >  	depends on USB && MEDIA_USB_SUPPORT && HAS_DMA
> > +	depends on VIDEO_V4L2
> >  	select INPUT_POLLDEV
> >  	select VIDEOBUF2_DMA_SG
> >  	help
> 
> -- 
> Dmitry

-- 
Dmitry

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH resend] input: fix sur40.c dependency/build errors
  2015-07-10 17:08   ` Dmitry Torokhov
@ 2015-10-17 17:13     ` Dmitry Torokhov
  2015-10-17 18:37       ` Randy Dunlap
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Torokhov @ 2015-10-17 17:13 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-input@vger.kernel.org, LKML, Florian floe Echtler,
	Mauro Carvalho Chehab

On Fri, Jul 10, 2015 at 10:08:53AM -0700, Dmitry Torokhov wrote:
> On Fri, Jul 10, 2015 at 10:03:28AM -0700, Dmitry Torokhov wrote:
> > On Fri, Jul 10, 2015 at 08:15:57AM -0700, Randy Dunlap wrote:
> > > From: Randy Dunlap <rdunlap@infradead.org>
> > > 
> > > Fix build errors due to missing Kconfig dependency.
> > > 
> > > drivers/built-in.o: In function `sur40_disconnect':
> > > sur40.c:(.text+0x22be6e): undefined reference to `video_unregister_device'
> > > sur40.c:(.text+0x22be77): undefined reference to `v4l2_device_unregister'
> > > drivers/built-in.o: In function `sur40_process_video':
> > > sur40.c:(.text+0x22c1d4): undefined reference to `v4l2_get_timestamp'
> > > drivers/built-in.o: In function `sur40_probe':
> > > sur40.c:(.text+0x22ca82): undefined reference to `v4l2_device_register'
> > > sur40.c:(.text+0x22cb1a): undefined reference to `v4l2_device_unregister'
> > > sur40.c:(.text+0x22cbf7): undefined reference to `video_device_release_empty'
> > > sur40.c:(.text+0x22cc53): undefined reference to `__video_register_device'
> > > sur40.c:(.text+0x22cc90): undefined reference to `video_unregister_device'
> > > drivers/built-in.o: In function `sur40_vidioc_querycap':
> > > sur40.c:(.text+0x22ccb0): undefined reference to `video_devdata'
> > > 
> > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> > 
> > Applied, thank you.
> 
> Actually, Mauro, can this go through media tree for now?

Do we still need this patch?

Thanks.

> 
> > 
> > > ---
> > >  drivers/input/touchscreen/Kconfig |    1 +
> > >  1 file changed, 1 insertion(+)
> > > 
> > > --- linux-next-20150710.orig/drivers/input/touchscreen/Kconfig
> > > +++ linux-next-20150710/drivers/input/touchscreen/Kconfig
> > > @@ -993,6 +993,7 @@ config TOUCHSCREEN_SUN4I
> > >  config TOUCHSCREEN_SUR40
> > >  	tristate "Samsung SUR40 (Surface 2.0/PixelSense) touchscreen"
> > >  	depends on USB && MEDIA_USB_SUPPORT && HAS_DMA
> > > +	depends on VIDEO_V4L2
> > >  	select INPUT_POLLDEV
> > >  	select VIDEOBUF2_DMA_SG
> > >  	help
> > 
> > -- 
> > Dmitry
> 
> -- 
> Dmitry

-- 
Dmitry

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH resend] input: fix sur40.c dependency/build errors
  2015-10-17 17:13     ` Dmitry Torokhov
@ 2015-10-17 18:37       ` Randy Dunlap
  2015-10-18 23:27         ` Dmitry Torokhov
  0 siblings, 1 reply; 6+ messages in thread
From: Randy Dunlap @ 2015-10-17 18:37 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: linux-input@vger.kernel.org, LKML, Florian floe Echtler,
	Mauro Carvalho Chehab

On 10/17/15 10:13, Dmitry Torokhov wrote:
> On Fri, Jul 10, 2015 at 10:08:53AM -0700, Dmitry Torokhov wrote:
>> On Fri, Jul 10, 2015 at 10:03:28AM -0700, Dmitry Torokhov wrote:
>>> On Fri, Jul 10, 2015 at 08:15:57AM -0700, Randy Dunlap wrote:
>>>> From: Randy Dunlap <rdunlap@infradead.org>
>>>>
>>>> Fix build errors due to missing Kconfig dependency.
>>>>
>>>> drivers/built-in.o: In function `sur40_disconnect':
>>>> sur40.c:(.text+0x22be6e): undefined reference to `video_unregister_device'
>>>> sur40.c:(.text+0x22be77): undefined reference to `v4l2_device_unregister'
>>>> drivers/built-in.o: In function `sur40_process_video':
>>>> sur40.c:(.text+0x22c1d4): undefined reference to `v4l2_get_timestamp'
>>>> drivers/built-in.o: In function `sur40_probe':
>>>> sur40.c:(.text+0x22ca82): undefined reference to `v4l2_device_register'
>>>> sur40.c:(.text+0x22cb1a): undefined reference to `v4l2_device_unregister'
>>>> sur40.c:(.text+0x22cbf7): undefined reference to `video_device_release_empty'
>>>> sur40.c:(.text+0x22cc53): undefined reference to `__video_register_device'
>>>> sur40.c:(.text+0x22cc90): undefined reference to `video_unregister_device'
>>>> drivers/built-in.o: In function `sur40_vidioc_querycap':
>>>> sur40.c:(.text+0x22ccb0): undefined reference to `video_devdata'
>>>>
>>>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>>>
>>> Applied, thank you.
>>
>> Actually, Mauro, can this go through media tree for now?
> 
> Do we still need this patch?

Yes, I just tested 4.3-rc5 and it still has this problem.

> Thanks.
(reuse bits)


> 
>>
>>>
>>>> ---
>>>>  drivers/input/touchscreen/Kconfig |    1 +
>>>>  1 file changed, 1 insertion(+)
>>>>
>>>> --- linux-next-20150710.orig/drivers/input/touchscreen/Kconfig
>>>> +++ linux-next-20150710/drivers/input/touchscreen/Kconfig
>>>> @@ -993,6 +993,7 @@ config TOUCHSCREEN_SUN4I
>>>>  config TOUCHSCREEN_SUR40
>>>>  	tristate "Samsung SUR40 (Surface 2.0/PixelSense) touchscreen"
>>>>  	depends on USB && MEDIA_USB_SUPPORT && HAS_DMA
>>>> +	depends on VIDEO_V4L2
>>>>  	select INPUT_POLLDEV
>>>>  	select VIDEOBUF2_DMA_SG
>>>>  	help
>>>
>>> -- 
>>> Dmitry
>>
>> -- 
>> Dmitry
> 


-- 
~Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH resend] input: fix sur40.c dependency/build errors
  2015-10-17 18:37       ` Randy Dunlap
@ 2015-10-18 23:27         ` Dmitry Torokhov
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry Torokhov @ 2015-10-18 23:27 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-input@vger.kernel.org, LKML, Florian floe Echtler,
	Mauro Carvalho Chehab

On Sat, Oct 17, 2015 at 11:37:16AM -0700, Randy Dunlap wrote:
> On 10/17/15 10:13, Dmitry Torokhov wrote:
> > On Fri, Jul 10, 2015 at 10:08:53AM -0700, Dmitry Torokhov wrote:
> >> On Fri, Jul 10, 2015 at 10:03:28AM -0700, Dmitry Torokhov wrote:
> >>> On Fri, Jul 10, 2015 at 08:15:57AM -0700, Randy Dunlap wrote:
> >>>> From: Randy Dunlap <rdunlap@infradead.org>
> >>>>
> >>>> Fix build errors due to missing Kconfig dependency.
> >>>>
> >>>> drivers/built-in.o: In function `sur40_disconnect':
> >>>> sur40.c:(.text+0x22be6e): undefined reference to `video_unregister_device'
> >>>> sur40.c:(.text+0x22be77): undefined reference to `v4l2_device_unregister'
> >>>> drivers/built-in.o: In function `sur40_process_video':
> >>>> sur40.c:(.text+0x22c1d4): undefined reference to `v4l2_get_timestamp'
> >>>> drivers/built-in.o: In function `sur40_probe':
> >>>> sur40.c:(.text+0x22ca82): undefined reference to `v4l2_device_register'
> >>>> sur40.c:(.text+0x22cb1a): undefined reference to `v4l2_device_unregister'
> >>>> sur40.c:(.text+0x22cbf7): undefined reference to `video_device_release_empty'
> >>>> sur40.c:(.text+0x22cc53): undefined reference to `__video_register_device'
> >>>> sur40.c:(.text+0x22cc90): undefined reference to `video_unregister_device'
> >>>> drivers/built-in.o: In function `sur40_vidioc_querycap':
> >>>> sur40.c:(.text+0x22ccb0): undefined reference to `video_devdata'
> >>>>
> >>>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> >>>
> >>> Applied, thank you.
> >>
> >> Actually, Mauro, can this go through media tree for now?
> > 
> > Do we still need this patch?
> 
> Yes, I just tested 4.3-rc5 and it still has this problem.

Applied, thank you.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-18 23:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-10 15:15 [PATCH resend] input: fix sur40.c dependency/build errors Randy Dunlap
2015-07-10 17:03 ` Dmitry Torokhov
2015-07-10 17:08   ` Dmitry Torokhov
2015-10-17 17:13     ` Dmitry Torokhov
2015-10-17 18:37       ` Randy Dunlap
2015-10-18 23:27         ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).