Skip to content

Staging: use DEFINE_PCI_DEVICE_TABLE when possible

Namhyung Kim lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Staging: sm7xx: use DEFINE_PCI_DEVICE_TABLEdrivers/staging/sm7xx/smtcfb.c+1 -10 replies
2/6Staging: cx25821: use DEFINE_PCI_DEVICE_TABLEdrivers/staging/cx25821/cx25821-alsa.c+1 -10 replies
3/6Staging: rtl8192e: use DEFINE_PCI_DEVICE_TABLEdrivers/staging/rtl8192e/r8192E_core.c+1 -10 replies
4/6Staging: phison: use DEFINE_PCI_DEVICE_TABLEdrivers/staging/phison/phison.c+1 -10 replies
5/6Staging: vme_tsi148: use DEFINE_PCI_DEVICE_TABLEdrivers/staging/vme/bridges/vme_tsi148.c+1 -10 replies
6/6Staging: vme_ca91cx42: use DEFINE_PCI_DEVICE_TABLEdrivers/staging/vme/bridges/vme_ca91cx42.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Staging: use DEFINE_PCI_DEVICE_TABLE when possible

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(-)
Signature · 1 line
1.7.3.3.400.g93cef