[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] unmodified_drivers: __devinit was removed in linux-3.8


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Mon, 11 Feb 2013 16:28:02 +0100
  • Delivery-date: Mon, 11 Feb 2013 15:28:33 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1360595055 -3600
# Node ID e80418f1f58bf36fe953af587cc0e6dbd52dffa7
# Parent  2fdca30363f08026971c094e8a1a84e19ca3e55b
unmodified_drivers: __devinit was removed in linux-3.8

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

diff -r 2fdca30363f0 -r e80418f1f58b 
unmodified_drivers/linux-2.6/platform-pci/platform-pci.h
--- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.h
+++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.h
@@ -24,6 +24,11 @@
 
 #include <linux/pci.h>
 
+#ifndef __devinit
+#define __devinit
+#define __devinitdata
+#endif
+
 unsigned long alloc_xen_mmio(unsigned long len);
 void platform_pci_resume(void);
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.