aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-06-08 22:44:07 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-08 22:44:07 +0100
commit0c27c5d5b93339df4def7ced77ea5be26df4d84b (patch)
tree5b0c8efeb5b4b6cfd840c125a875c12fbecbf014 /include
parent[ARM] Fix Neponset IRQ handling (diff)
downloadlinux-dev-0c27c5d5b93339df4def7ced77ea5be26df4d84b.tar.xz
linux-dev-0c27c5d5b93339df4def7ced77ea5be26df4d84b.zip
[ARM] 3547/1: PXA-OHCI: Allow platforms to specify a power budget
Patch from Richard Purdie Add a power budget variable to the PXA OHCI platform data and add a default value for the spitz platform(s) which prevents known failures with certain USB devices. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-pxa/ohci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/ohci.h b/include/asm-arm/arch-pxa/ohci.h
index 7da89569061e..e848a47128cd 100644
--- a/include/asm-arm/arch-pxa/ohci.h
+++ b/include/asm-arm/arch-pxa/ohci.h
@@ -11,6 +11,8 @@ struct pxaohci_platform_data {
#define PMM_NPS_MODE 1
#define PMM_GLOBAL_MODE 2
#define PMM_PERPORT_MODE 3
+
+ int power_budget;
};
extern void pxa_set_ohci_info(struct pxaohci_platform_data *info);