The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] Export usb_gadgetfs.h to userspace
@ 2007-06-25  9:29 Haavard Skinnemoen
  2007-06-25 14:04 ` David Brownell
  2007-06-27  7:35 ` Andrew Morton
  0 siblings, 2 replies; 5+ messages in thread
From: Haavard Skinnemoen @ 2007-06-25  9:29 UTC (permalink / raw)
  To: linux-usb-devel
  Cc: David Woodhouse, linux-kernel, David Brownell, Haavard Skinnemoen

The gadgetfs test program from http://www.linux-usb.org/gadget/
depends on it. I assume most other users of gadgetfs needs this header
too.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
---
 include/linux/Kbuild |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index f317c27..b216ee3 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -152,6 +152,7 @@ header-y += tipc.h
 header-y += toshiba.h
 header-y += ultrasound.h
 header-y += un.h
+header-y += usb_gadgetfs.h
 header-y += utime.h
 header-y += video_decoder.h
 header-y += video_encoder.h
-- 
1.5.2.2


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

* Re: [PATCH] Export usb_gadgetfs.h to userspace
  2007-06-25  9:29 [PATCH] Export usb_gadgetfs.h to userspace Haavard Skinnemoen
@ 2007-06-25 14:04 ` David Brownell
  2007-06-27  7:35 ` Andrew Morton
  1 sibling, 0 replies; 5+ messages in thread
From: David Brownell @ 2007-06-25 14:04 UTC (permalink / raw)
  To: Haavard Skinnemoen; +Cc: linux-usb-devel, David Woodhouse, linux-kernel

On Monday 25 June 2007, Haavard Skinnemoen wrote:
> The gadgetfs test program from http://www.linux-usb.org/gadget/
> depends on it. I assume most other users of gadgetfs needs this header
> too.

There's already a patch in the 2.6.23 queue which moves this
to <linux/usb/gadgetfs.h> and exports it from there:

   http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6
	/gregkh-03-usb/usb-export-linux-usb_gadgetfs-as-linux-usb-gadgetfs.h.patch

(URL is manually line wrapped).

- Dave

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

* Re: [PATCH] Export usb_gadgetfs.h to userspace
  2007-06-25  9:29 [PATCH] Export usb_gadgetfs.h to userspace Haavard Skinnemoen
  2007-06-25 14:04 ` David Brownell
@ 2007-06-27  7:35 ` Andrew Morton
  2007-06-27  7:48   ` Haavard Skinnemoen
  2007-06-27  7:57   ` David Woodhouse
  1 sibling, 2 replies; 5+ messages in thread
From: Andrew Morton @ 2007-06-27  7:35 UTC (permalink / raw)
  To: Haavard Skinnemoen
  Cc: linux-usb-devel, David Woodhouse, linux-kernel, David Brownell

On Mon, 25 Jun 2007 11:29:39 +0200 Haavard Skinnemoen <hskinnemoen@atmel.com> wrote:

> The gadgetfs test program from http://www.linux-usb.org/gadget/
> depends on it. I assume most other users of gadgetfs needs this header
> too.
> 
> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
> ---
>  include/linux/Kbuild |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/include/linux/Kbuild b/include/linux/Kbuild
> index f317c27..b216ee3 100644
> --- a/include/linux/Kbuild
> +++ b/include/linux/Kbuild
> @@ -152,6 +152,7 @@ header-y += tipc.h
>  header-y += toshiba.h
>  header-y += ultrasound.h
>  header-y += un.h
> +header-y += usb_gadgetfs.h
>  header-y += utime.h
>  header-y += video_decoder.h
>  header-y += video_encoder.h

`make headers_check' fails:

make[2]: *** No rule to make target `/usr/src/devel/include/linux/usb_gadgetfs.h', needed by `/usr/src/devel/usr/include/linux/usb_gadgetfs.h'.  Stop.


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

* Re: [PATCH] Export usb_gadgetfs.h to userspace
  2007-06-27  7:35 ` Andrew Morton
@ 2007-06-27  7:48   ` Haavard Skinnemoen
  2007-06-27  7:57   ` David Woodhouse
  1 sibling, 0 replies; 5+ messages in thread
From: Haavard Skinnemoen @ 2007-06-27  7:48 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-usb-devel, David Woodhouse, linux-kernel, David Brownell

On Wed, 27 Jun 2007 00:35:38 -0700
Andrew Morton <akpm@linux-foundation.org> wrote:

> `make headers_check' fails:
> 
> make[2]: *** No rule to make target `/usr/src/devel/include/linux/usb_gadgetfs.h', needed by `/usr/src/devel/usr/include/linux/usb_gadgetfs.h'.  Stop.

It has already been moved to linux/usb/gadgetfs.h and properly exported
in -mm. Please just ignore this patch, it's redundant.

Haavard

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

* Re: [PATCH] Export usb_gadgetfs.h to userspace
  2007-06-27  7:35 ` Andrew Morton
  2007-06-27  7:48   ` Haavard Skinnemoen
@ 2007-06-27  7:57   ` David Woodhouse
  1 sibling, 0 replies; 5+ messages in thread
From: David Woodhouse @ 2007-06-27  7:57 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Haavard Skinnemoen, linux-usb-devel, linux-kernel, David Brownell

On Wed, 2007-06-27 at 00:35 -0700, Andrew Morton wrote:
> make[2]: *** No rule to make target
> `/usr/src/devel/include/linux/usb_gadgetfs.h', needed by
> `/usr/src/devel/usr/include/linux/usb_gadgetfs.h'.  Stop. 

i.e. "Cannot export file to ./usr/include/linux/ because it doesn't
exist in ./include/linux/ in the first place" -- for the reasons Håvard
pointed out.

-- 
dwmw2


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

end of thread, other threads:[~2007-06-27  7:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-25  9:29 [PATCH] Export usb_gadgetfs.h to userspace Haavard Skinnemoen
2007-06-25 14:04 ` David Brownell
2007-06-27  7:35 ` Andrew Morton
2007-06-27  7:48   ` Haavard Skinnemoen
2007-06-27  7:57   ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox