New drivers for the Sharp Corgi and Spitz platforms need access 
to data structures that are currently declared static. This patch 
declares the appropriate strutures in preparation for these drivers.

Signed-Off-By: Richard Purdie <rpurdie@rpsys.net>

Index: linux-2.6.13/arch/arm/mach-pxa/generic.h
===================================================================
--- linux-2.6.13.orig/arch/arm/mach-pxa/generic.h	2005-10-09 15:11:24.000000000 +0100
+++ linux-2.6.13/arch/arm/mach-pxa/generic.h	2005-10-09 15:16:33.000000000 +0100
@@ -12,6 +12,8 @@
 struct sys_timer;
 
 extern struct sys_timer pxa_timer;
+extern struct pm_ops pxa_pm_ops;
+
 extern void __init pxa_map_io(void);
 extern void __init pxa_init_irq(void);
 
Index: linux-2.6.13/arch/arm/mach-pxa/pm.c
===================================================================
--- linux-2.6.13.orig/arch/arm/mach-pxa/pm.c	2005-10-09 15:16:30.000000000 +0100
+++ linux-2.6.13/arch/arm/mach-pxa/pm.c	2005-10-09 15:16:56.000000000 +0100
@@ -208,8 +208,11 @@
 
 /*
  * Set to PM_DISK_FIRMWARE so we can quickly veto suspend-to-disk.
+ * 
+ * Warning: Some PXA boards intercept and wrap these handlers 
+ * to add functionality.
  */
-static struct pm_ops pxa_pm_ops = {
+struct pm_ops pxa_pm_ops = {
 	.pm_disk_mode	= PM_DISK_FIRMWARE,
 	.prepare	= pxa_pm_prepare,
 	.enter		= pxa_pm_enter,

