[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100109154115.152c55e1@infradead.org>
Date: Sat, 9 Jan 2010 15:41:15 -0800
From: Arjan van de Ven <arjan@...radead.org>
To: Németh Márton <nm127@...email.hu>
Cc: Greg Kroah-Hartman <gregkh@...e.de>, devel@...verdev.osuosl.org,
LKML <linux-kernel@...r.kernel.org>,
Julia Lawall <julia@...u.dk>, cocci@...u.dk
Subject: Re: [PATCH 1/3] staging: make PCI device id constant
On Sun, 10 Jan 2010 00:18:26 +0100
Németh Márton <nm127@...email.hu> wrote:
> From: Márton Németh <nm127@...email.hu>
>
> The id_table field of the struct pci_driver is constant in
> <linux/pci.h> so it is worth to make the initialization data also
> constant.
the PCI ID table can get written too via sysfs... making it const
breaks that...
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists