public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/edac/edac_mc.h must #include <linux/platform_device.h>
@ 2006-07-08 20:20 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-07-08 20:20 UTC (permalink / raw)
  To: norsk5; +Cc: bluesmoke-devel, linux-kernel

This patch fixes the following compile error with CONFIG_PCI=n:

<--  snip  -->

...
  CC      drivers/edac/edac_mc.o
drivers/edac/edac_mc.c: In function ‘add_mc_to_global_list’:
drivers/edac/edac_mc.c:1362: error: implicit declaration of function ‘to_platform_device’
drivers/edac/edac_mc.c:1362: error: invalid type argument of ‘->’
drivers/edac/edac_mc.c: In function ‘edac_mc_add_mc’:
drivers/edac/edac_mc.c:1467: error: invalid type argument of ‘->’
drivers/edac/edac_mc.c: In function ‘edac_mc_del_mc’:
drivers/edac/edac_mc.c:1504: error: invalid type argument of ‘->’
make[2]: *** [drivers/edac/edac_mc.o] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.17-mm6-full/drivers/edac/edac_mc.h.old	2006-07-08 18:06:48.000000000 +0200
+++ linux-2.6.17-mm6-full/drivers/edac/edac_mc.h	2006-07-08 18:07:04.000000000 +0200
@@ -29,6 +29,7 @@
 #include <linux/rcupdate.h>
 #include <linux/completion.h>
 #include <linux/kobject.h>
+#include <linux/platform_device.h>
 
 #define EDAC_MC_LABEL_LEN	31
 #define MC_PROC_NAME_MAX_LEN 7


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [2.6 patch] drivers/edac/edac_mc.h must #include <linux/platform_device.h>
@ 2006-07-30  9:41 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-07-30  9:41 UTC (permalink / raw)
  To: Andrew Morton; +Cc: norsk5, bluesmoke-devel, linux-kernel

This patch fixes the following compile error with CONFIG_PCI=n:

<--  snip  -->

...
  CC      drivers/edac/edac_mc.o
drivers/edac/edac_mc.c: In function ‘add_mc_to_global_list’:
drivers/edac/edac_mc.c:1362: error: implicit declaration of function ‘to_platform_device’
drivers/edac/edac_mc.c:1362: error: invalid type argument of ‘->’
drivers/edac/edac_mc.c: In function ‘edac_mc_add_mc’:
drivers/edac/edac_mc.c:1467: error: invalid type argument of ‘->’
drivers/edac/edac_mc.c: In function ‘edac_mc_del_mc’:
drivers/edac/edac_mc.c:1504: error: invalid type argument of ‘->’
make[2]: *** [drivers/edac/edac_mc.o] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 8 Jul 2006

--- linux-2.6.17-mm6-full/drivers/edac/edac_mc.h.old	2006-07-08 18:06:48.000000000 +0200
+++ linux-2.6.17-mm6-full/drivers/edac/edac_mc.h	2006-07-08 18:07:04.000000000 +0200
@@ -29,6 +29,7 @@
 #include <linux/rcupdate.h>
 #include <linux/completion.h>
 #include <linux/kobject.h>
+#include <linux/platform_device.h>
 
 #define EDAC_MC_LABEL_LEN	31
 #define MC_PROC_NAME_MAX_LEN 7


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-30  9:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-30  9:41 [2.6 patch] drivers/edac/edac_mc.h must #include <linux/platform_device.h> Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2006-07-08 20:20 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox