diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-26 00:25:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-26 00:25:02 -0500 |
commit | 8f5f90a872c38b4e78f3cc95e8a25434b98e4db2 (patch) | |
tree | 36c50b0c97286ab89c85016f7ab281f8e843c05c /drivers/media/pci/pt1/pt1.c | |
parent | c0cd2da16b431a2007ea83865f3dd1530c1643a5 (diff) | |
parent | 949db153b6466c6f7cad5a427ecea94985927311 (diff) |
Merge 3.8-rc5 into staging-next
This resolves a merge issue with a iio driver, and the zram code.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/pci/pt1/pt1.c')
-rw-r--r-- | drivers/media/pci/pt1/pt1.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/pci/pt1/pt1.c b/drivers/media/pci/pt1/pt1.c index 15b35c4725f1..e9211086df49 100644 --- a/drivers/media/pci/pt1/pt1.c +++ b/drivers/media/pci/pt1/pt1.c | |||
@@ -1058,7 +1058,7 @@ static void pt1_i2c_init(struct pt1 *pt1) | |||
1058 | pt1_i2c_emit(pt1, i, 0, 0, 1, 1, 0); | 1058 | pt1_i2c_emit(pt1, i, 0, 0, 1, 1, 0); |
1059 | } | 1059 | } |
1060 | 1060 | ||
1061 | static void __devexit pt1_remove(struct pci_dev *pdev) | 1061 | static void pt1_remove(struct pci_dev *pdev) |
1062 | { | 1062 | { |
1063 | struct pt1 *pt1; | 1063 | struct pt1 *pt1; |
1064 | void __iomem *regs; | 1064 | void __iomem *regs; |
@@ -1083,8 +1083,7 @@ static void __devexit pt1_remove(struct pci_dev *pdev) | |||
1083 | pci_disable_device(pdev); | 1083 | pci_disable_device(pdev); |
1084 | } | 1084 | } |
1085 | 1085 | ||
1086 | static int __devinit | 1086 | static int pt1_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |
1087 | pt1_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | ||
1088 | { | 1087 | { |
1089 | int ret; | 1088 | int ret; |
1090 | void __iomem *regs; | 1089 | void __iomem *regs; |
@@ -1222,7 +1221,7 @@ MODULE_DEVICE_TABLE(pci, pt1_id_table); | |||
1222 | static struct pci_driver pt1_driver = { | 1221 | static struct pci_driver pt1_driver = { |
1223 | .name = DRIVER_NAME, | 1222 | .name = DRIVER_NAME, |
1224 | .probe = pt1_probe, | 1223 | .probe = pt1_probe, |
1225 | .remove = __devexit_p(pt1_remove), | 1224 | .remove = pt1_remove, |
1226 | .id_table = pt1_id_table, | 1225 | .id_table = pt1_id_table, |
1227 | }; | 1226 | }; |
1228 | 1227 | ||