rendered paste body01:22 hrw@home:linux-2.6.23$ cat patches/sharp_pm-no-pm.patch--- linux-2.6.23.orig/arch/arm/common/sharpsl_pm.c+++ linux-2.6.23/arch/arm/common/sharpsl_pm.c@@ -781,8 +781,12 @@ } static struct pm_ops sharpsl_pm_ops = {+#ifdef CONFIG_PM .enter = corgi_pxa_pm_enter,+#ifdef CONFIG_SUSPEND .valid = pm_valid_only_mem,+#endif+#endif }; static int __init sharpsl_pm_probe(struct platform_device *pdev)@@ -841,8 +845,10 @@ static struct platform_driver sharpsl_pm_driver = { .probe = sharpsl_pm_probe, .remove = sharpsl_pm_remove,+#ifdef CONFIG_SUSPEND .suspend = sharpsl_pm_suspend, .resume = sharpsl_pm_resume,+#endif .driver = { .name = "sharpsl-pm", },--- linux-2.6.23.orig/arch/arm/mach-pxa/pxa25x.c+++ linux-2.6.23/arch/arm/mach-pxa/pxa25x.c@@ -195,7 +195,9 @@ static struct pxa_cpu_pm_fns pxa25x_cpu_pm_fns = { .save_size = SLEEP_SAVE_SIZE,+#ifdef CONFIG_SUSPEND .valid = pm_valid_only_mem,+#endif .save = pxa25x_cpu_pm_save, .restore = pxa25x_cpu_pm_restore, .enter = pxa25x_cpu_pm_enter,01:23 hrw@home:linux-2.6.23$