Skip to contentSkip to conversation

+ drivers-media-pci-mantis-hopper_cards-convert-to-module_pci_driver.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jun 3, 2013 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Subject: + drivers-media-pci-mantis-hopper_cards-convert-to-module_pci_driver.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 03 Jun 2013 15:01:23 -0700

The patch titled
Subject: drivers/media/pci/mantis/hopper_cards.c: convert to module_pci_driver
has been added to the -mm tree. Its filename is
drivers-media-pci-mantis-hopper_cards-convert-to-module_pci_driver.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Libo Chen <[email protected]>
Subject: drivers/media/pci/mantis/hopper_cards.c: convert to module_pci_driver

Cc Mauro Carvalho Chehab <[email protected]>

---

 drivers/media/pci/mantis/hopper_cards.c |   13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)
drivers/media/pci/mantis/hopper_cards.c renamed from drivers/media/pci/mantis/hopper_cards.c~drivers-media-pci-mantis-hopper_cards-convert-to-module_pci_driver +1 -12
diff -puN drivers/media/pci/mantis/hopper_cards.c~drivers-media-pci-mantis-hopper_cards-convert-to-module_pci_driver drivers/media/pci/mantis/hopper_cards.c
@@ -260,18 +260,7 @@ static struct pci_driver hopper_pci_driv
 	.remove		= hopper_pci_remove,
 };
 
-static int hopper_init(void)
-{
-	return pci_register_driver(&hopper_pci_driver);
-}
-
-static void hopper_exit(void)
-{
-	return pci_unregister_driver(&hopper_pci_driver);
-}
-
-module_init(hopper_init);
-module_exit(hopper_exit);
+module_pci_driver(hopper_pci_driver);
 
 MODULE_DESCRIPTION("HOPPER driver");
 MODULE_AUTHOR("Manu Abraham");

_

Patches currently in -mm which might be from [email protected] are

drivers-iommu-msm_iommu_devc-fix-leak-and-clean-up-error-paths.patch drivers-iommu-msm_iommu_devc-fix-leak-and-clean-up-error-paths-fix.patch drivers-cdrom-gdromc-fix-device-number-leak.patch drivers-scsi-a100u2w-convert-to-module_pci_driver.patch drivers-scsi-dc395x-convert-to-module_pci_driver.patch drivers-scsi-dmx3191d-convert-to-module_pci_driver.patch drivers-scsi-initio-convert-to-module_pci_driver.patch drivers-scsi-mvumi-convert-to-module_pci_driver.patch drivers-net-irda-donauboe-convert-to-module_pci_driver.patch drivers-ide-delkin_cb-convert-to-module_pci_driver.patch drivers-atm-he-convert-to-module_pci_driver.patch drivers-mfd-lpc_ich-convert-to-module_pci_driver.patch drivers-ptp-ptp_pch-convert-to-module_pci_driver.patch drivers-memstick-host-r592-convert-to-module_pci_driver.patch drivers-platform-x86-intel_ips-convert-to-module_pci_driver.patch drivers-media-pci-mantis-mantis_cards-convert-to-module_pci_driver.patch drivers-media-pci-dm1105-dm1105-convert-to-module_pci_driver.patch drivers-media-pci-mantis-hopper_cards-convert-to-module_pci_driver.patch drivers-media-pci-pluto2-pluto2-convert-to-module_pci_driver.patch drivers-media-pci-pt1-pt1-convert-to-module_pci_driver.patch