Messages in this thread Patch in this message | | | Date | Sun, 3 Apr 2005 11:38:04 +0100 | From | Russell King <> | Subject | Re: Fix u32 vs. pm_message_t in arm |
| |
On Tue, Mar 29, 2005 at 09:15:43PM +0200, Pavel Machek wrote: > This fixes u32 vs. pm_message_t confusion in arm. I was not able to > even compile it, but it should not cause any problems. Please apply,
On testing this patch, it doesn't build. You need to include linux/pm.h into linux/sysdev.h for starters, and fix sysdev.h to also use pm_message_t in it's function pointers.
Therefore, I'd like the following patch either to be in mainline first, or in my ARM tree for Linus to pull so ARM doesn't completely break on my next merge.
===== include/linux/sysdev.h 1.7 vs edited ===== --- 1.7/include/linux/sysdev.h 2004-02-13 06:18:02 +00:00 +++ edited/include/linux/sysdev.h 2005-04-03 11:30:13 +01:00 @@ -22,6 +22,7 @@ #define _SYSDEV_H_ #include <linux/kobject.h> +#include <linux/pm.h> struct sys_device;
-- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |