Re: [PATCH linux-next] edac: move const pci_device_id tables from __devinitdata to __devinitconst.

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

 



On Mon, Feb 27, 2012 at 08:05:30AM +0100, Lionel Debroux wrote:
> Based on PaX and earlier work by Andi Kleen.
> 
> Patch against linux-next (20120224).
> 
> ---
> 
> From e4ed493cf2241f6ba880459e48674de0b2a394a3 Mon Sep 17 00:00:00 2001
> From: Lionel Debroux <lionel_debroux@xxxxxxxx>
> Date: Mon, 27 Feb 2012 07:41:47 +0100
> Subject: edac: move const pci_device_id tables from __devinitdata to
>  __devinitconst.
> 
> These const tables are currently marked __devinitdata, but Documentation/PCI/pci.txt says:
> "
> o The ID table array should be marked __devinitconst; this is done
>   automatically if the table is declared with DEFINE_PCI_DEVICE_TABLE().
> "
> So use DEFINE_PCI_DEVICE_TABLE(x).
> 
> Based on PaX and earlier work by Andi Kleen.
> 
> Signed-off-by: Lionel Debroux <lionel_debroux@xxxxxxxx>

Applied [with minor commit msg formatting changes], thanks.

-- 
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
GM: Alberto Bozzo
Reg: Dornach, Landkreis Muenchen
HRB Nr. 43632 WEEE Registernr: 129 19551
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux