I am trying to port Android to an Atmel AT91SAM9293 board using the
kernel from andriod.git.kernel.org..

When I configured the kernel as per the configuration options listed
in android.txt, it failed to compile drivers/switch/switch_gpio.c.
This problem was resolved by including linux/interrupt.h, as per the
patch below.

Is this problem a result of my misunderstanding, or is there really a
problem with the source code?

Thanks,


Chris.

--- kernel (original)/drivers/switch/switch_gpio.c      2009-09-01
08:36:04.000000000 +0100
+++ kernel/drivers/switch/switch_gpio.c 2009-09-18 10:49:09.000000000
+0100
@@ -18,6 +18,7 @@
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/interrupt.h>
 #include <linux/platform_device.h>
 #include <linux/switch.h>
 #include <linux/workqueue.h>



--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to