From: "Jan Beulich" Subject: Re: [PATCH] unmodified_drivers: __devinit was removed in linux-3.8 Date: Tue, 12 Feb 2013 10:00:42 +0000 Message-ID: <511A20DA02000078000BDA69@nat28.tlf.novell.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 11.02.13 at 16:28, Olaf Hering wrote: > # HG changeset patch > # User Olaf Hering > # Date 1360595055 -3600 > # Node ID e80418f1f58bf36fe953af587cc0e6dbd52dffa7 > # Parent 2fdca30363f08026971c094e8a1a84e19ca3e55b > unmodified_drivers: __devinit was removed in linux-3.8 I recognize the need for dealing with this, but ... > Signed-off-by: Olaf Hering > > 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 ... this is the wrong file. See compat-include/xen/platform-compat.h (including how it already deals with non-present __init). Jan > @@ -24,6 +24,11 @@ > > #include > > +#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@lists.xen.org > http://lists.xen.org/xen-devel