USB: make hub.h public (drivers dependency)
authorEric Lescouet <Eric.Lescouet@virtuallogix.com>
Sat, 24 Apr 2010 21:34:27 +0000 (23:34 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:30 +0000 (13:21 -0700)
commitd65d7e7ef3dc5e61e4dfaac54ec6d3e97f9a1108
treec6dc49e59baea2c3f20fb1937799666a7c828284
parent27729aadd31dafddaaf64c24f8ef6d0ff750f3aa
USB: make hub.h public (drivers dependency)

The usbcore headers: hcd.h and hub.h are shared between usbcore,
HCDs and a couple of other drivers (e.g. USBIP modules).
So, it makes sense to move them into a more public location and
to cleanup dependency of those modules on kernel internal headers.
This patch moves hub.h from drivers/usb/core into include/linux/usb/

Signed-of-by: Eric Lescouet <eric@lescouet.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/usb/hcd.h
include/linux/usb/hub.h [moved from drivers/usb/core/hub.h with 100% similarity]