mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/6] Staging: use DEFINE_PCI_DEVICE_TABLE when possible
@ 2010-12-09 16:40 Namhyung Kim
  2010-12-09 16:40 ` [PATCH 1/6] Staging: sm7xx: use DEFINE_PCI_DEVICE_TABLE Namhyung Kim
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Namhyung Kim @ 2010-12-09 16:40 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: devel, linux-kernel

Hi,

This patchset tries to convert open-coded struct pci_device_id tables
to preferred form of DEFINE_PCI_DEVICE_TABLE. As a result it will make
the tables const and marks as __devinitconst.

Being conservative, I only convert the tables already declared as const
but it could be applied to others too. I'll prepare another series for
those if this looks good to you.

Thanks.

---
Only compile-tested!

Namhyung Kim (6):
  Staging: sm7xx: use DEFINE_PCI_DEVICE_TABLE
  Staging: cx25821: use DEFINE_PCI_DEVICE_TABLE
  Staging: rtl8192e: use DEFINE_PCI_DEVICE_TABLE
  Staging: phison: use DEFINE_PCI_DEVICE_TABLE
  Staging: vme_tsi148: use DEFINE_PCI_DEVICE_TABLE
  Staging: vme_ca91cx42: use DEFINE_PCI_DEVICE_TABLE

 drivers/staging/cx25821/cx25821-alsa.c     |    2 +-
 drivers/staging/phison/phison.c            |    2 +-
 drivers/staging/rtl8192e/r8192E_core.c     |    2 +-
 drivers/staging/sm7xx/smtcfb.c             |    2 +-
 drivers/staging/vme/bridges/vme_ca91cx42.c |    2 +-
 drivers/staging/vme/bridges/vme_tsi148.c   |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

-- 
1.7.3.3.400.g93cef


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

end of thread, other threads:[~2010-12-09 16:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-09 16:40 [PATCH 0/6] Staging: use DEFINE_PCI_DEVICE_TABLE when possible Namhyung Kim
2010-12-09 16:40 ` [PATCH 1/6] Staging: sm7xx: use DEFINE_PCI_DEVICE_TABLE Namhyung Kim
2010-12-09 16:40 ` [PATCH 2/6] Staging: cx25821: " Namhyung Kim
2010-12-09 16:40 ` [PATCH 3/6] Staging: rtl8192e: " Namhyung Kim
2010-12-09 16:40 ` [PATCH 4/6] Staging: phison: " Namhyung Kim
2010-12-09 16:40 ` [PATCH 5/6] Staging: vme_tsi148: " Namhyung Kim
2010-12-09 16:40 ` [PATCH 6/6] Staging: vme_ca91cx42: " Namhyung Kim

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

Powered by JetHome