of: fix sparse warnings in fdt, irq, reserved mem, and resolver code
[linux-2.6-microblaze.git] / include / linux / of_irq.h
index 1e0deb8..ec6b11d 100644 (file)
@@ -8,7 +8,7 @@
 #include <linux/ioport.h>
 #include <linux/of.h>
 
-typedef int (*of_irq_init_cb_t)(struct device_node *, struct device_node *);
+typedef int const (*of_irq_init_cb_t)(struct device_node *, struct device_node *);
 
 /*
  * Workarounds only applied to 32bit powermac machines