From: Felipe Balbi <ext-felipe.lima@nokia.com>
Cc: Linux OMAP Mailing List <linux-omap-open-source@linux.omap.com>
Subject: [PATCH] [USB/CORE/USB.C] Fixes autosuspend and auto_pm fields missing
Date: Tue, 31 Oct 2006 16:28:06 -0400 [thread overview]
Message-ID: <4547B1D6.5020809@nokia.com> (raw)
In-Reply-To: <4547AB5C.4010801@nokia.com>
[-- Attachment #1: Type: text/plain, Size: 1133 bytes --]
Please forget about the other patch... this is the right one...
sorry guys
ext Felipe Balbi wrote:
> This small patch changes omap_h3_1710_defconfig to fix the bug.
>
> The catch is: for struct usb_device to have the fields struct
> work_struct autosuspend and unsigned autopm:1 CONFIG_PM should be set
> "y".
>
>
> make uImage
> CHK include/linux/version.h
> make[1]: `include/asm-arm/mach-types.h' is up to date.
> CHK include/linux/utsrelease.h
> CHK include/linux/compile.h
> CC drivers/usb/core/usb.o
> drivers/usb/core/usb.c: In function 'usb_release_dev':
> drivers/usb/core/usb.c:177: error: 'struct usb_device' has no member
> named 'autosuspend'
> drivers/usb/core/usb.c: In function 'usb_autosuspend_work':
> drivers/usb/core/usb.c:218: error: 'struct usb_device' has no member
> named 'auto_pm'
> drivers/usb/core/usb.c:219: warning: statement with no effect
> make[3]: *** [drivers/usb/core/usb.o] Error 1
> make[2]: *** [drivers/usb/core] Error 2
> make[1]: *** [drivers/usb] Error 2
> make: *** [drivers] Error 2
>
>
--
Best Regards,
Felipe Balbi
ext-felipe.lima@nokia.com
OSMRC - INdT
[-- Attachment #2: patch-autosuspend-auto_pm.diff --]
[-- Type: text/x-patch, Size: 468 bytes --]
Index: linux-omap-2.6-dev/arch/arm/configs/omap_h3_1710_defconfig
===================================================================
--- linux-omap-2.6-dev.orig/arch/arm/configs/omap_h3_1710_defconfig 2006-10-31 14:30:35.000000000 -0400
+++ linux-omap-2.6-dev/arch/arm/configs/omap_h3_1710_defconfig 2006-10-31 16:26:56.000000000 -0400
@@ -223,7 +223,7 @@ CONFIG_BINFMT_AOUT=y
#
# Power management options
#
-# CONFIG_PM is not set
+CONFIG_PM=y
#
# Networking
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2006-10-31 20:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-31 20:00 [PATCH] [USB/CORE/USB.C] Fixes autosuspend and auto_pm fields missing Felipe Balbi
2006-10-31 20:28 ` Felipe Balbi [this message]
2006-11-01 17:09 ` Dirk Behme
2006-11-01 19:55 ` David Brownell
[not found] <Pine.LNX.4.44L0.0611011552330.8259-100000@iolanthe.rowland.org>
2006-11-01 21:48 ` David Brownell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4547B1D6.5020809@nokia.com \
--to=ext-felipe.lima@nokia.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox