diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/cafe_ccic.c | 13 | ||||
-rw-r--r-- | drivers/mmc/host/sdhci-pci.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/cafe_nand.c | 6 | ||||
-rw-r--r-- | drivers/video/backlight/mbp_nvidia_bl.c | 4 |
4 files changed, 10 insertions, 15 deletions
diff --git a/drivers/media/video/cafe_ccic.c b/drivers/media/video/cafe_ccic.c index 5405c30dbb04..08efbe7254ff 100644 --- a/drivers/media/video/cafe_ccic.c +++ b/drivers/media/video/cafe_ccic.c | |||
@@ -2092,15 +2092,8 @@ static int cafe_pci_probe(struct pci_dev *pdev, | |||
2092 | const struct pci_device_id *id) | 2092 | const struct pci_device_id *id) |
2093 | { | 2093 | { |
2094 | int ret; | 2094 | int ret; |
2095 | u16 classword; | ||
2096 | struct cafe_camera *cam; | 2095 | struct cafe_camera *cam; |
2097 | /* | 2096 | |
2098 | * Make sure we have a camera here - we'll get calls for | ||
2099 | * the other cafe devices as well. | ||
2100 | */ | ||
2101 | pci_read_config_word(pdev, PCI_CLASS_DEVICE, &classword); | ||
2102 | if (classword != PCI_CLASS_MULTIMEDIA_VIDEO) | ||
2103 | return -ENODEV; | ||
2104 | /* | 2097 | /* |
2105 | * Start putting together one of our big camera structures. | 2098 | * Start putting together one of our big camera structures. |
2106 | */ | 2099 | */ |
@@ -2288,8 +2281,8 @@ static int cafe_pci_resume(struct pci_dev *pdev) | |||
2288 | 2281 | ||
2289 | 2282 | ||
2290 | static struct pci_device_id cafe_ids[] = { | 2283 | static struct pci_device_id cafe_ids[] = { |
2291 | { PCI_DEVICE(0x11ab, 0x4100) }, /* Eventual real ID */ | 2284 | { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, |
2292 | { PCI_DEVICE(0x11ab, 0x4102) }, /* Really eventual real ID */ | 2285 | PCI_DEVICE_ID_MARVELL_88ALP01_CCIC) }, |
2293 | { 0, } | 2286 | { 0, } |
2294 | }; | 2287 | }; |
2295 | 2288 | ||
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 0a84f10d719c..9bd7026b0021 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c | |||
@@ -327,7 +327,7 @@ static const struct pci_device_id pci_ids[] __devinitdata = { | |||
327 | 327 | ||
328 | { | 328 | { |
329 | .vendor = PCI_VENDOR_ID_MARVELL, | 329 | .vendor = PCI_VENDOR_ID_MARVELL, |
330 | .device = PCI_DEVICE_ID_MARVELL_CAFE_SD, | 330 | .device = PCI_DEVICE_ID_MARVELL_88ALP01_SD, |
331 | .subvendor = PCI_ANY_ID, | 331 | .subvendor = PCI_ANY_ID, |
332 | .subdevice = PCI_ANY_ID, | 332 | .subdevice = PCI_ANY_ID, |
333 | .driver_data = (kernel_ulong_t)&sdhci_cafe, | 333 | .driver_data = (kernel_ulong_t)&sdhci_cafe, |
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c index 95345d051579..b8064bf3aee4 100644 --- a/drivers/mtd/nand/cafe_nand.c +++ b/drivers/mtd/nand/cafe_nand.c | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for One Laptop Per Child ‘CAFÉ’ controller, aka Marvell 88ALP01 | 2 | * Driver for One Laptop Per Child ‘CAFÉ’ controller, aka Marvell 88ALP01 |
3 | * | 3 | * |
4 | * The data sheet for this device can be found at: | ||
5 | * http://www.marvell.com/products/pcconn/88ALP01.jsp | ||
6 | * | ||
4 | * Copyright © 2006 Red Hat, Inc. | 7 | * Copyright © 2006 Red Hat, Inc. |
5 | * Copyright © 2006 David Woodhouse <dwmw2@infradead.org> | 8 | * Copyright © 2006 David Woodhouse <dwmw2@infradead.org> |
6 | */ | 9 | */ |
@@ -842,7 +845,8 @@ static void __devexit cafe_nand_remove(struct pci_dev *pdev) | |||
842 | } | 845 | } |
843 | 846 | ||
844 | static struct pci_device_id cafe_nand_tbl[] = { | 847 | static struct pci_device_id cafe_nand_tbl[] = { |
845 | { 0x11ab, 0x4100, PCI_ANY_ID, PCI_ANY_ID }, | 848 | { PCI_VENDOR_ID_MARVELL, PCI_DEVICE_ID_MARVELL_88ALP01_NAND, |
849 | PCI_ANY_ID, PCI_ANY_ID }, | ||
846 | { } | 850 | { } |
847 | }; | 851 | }; |
848 | 852 | ||
diff --git a/drivers/video/backlight/mbp_nvidia_bl.c b/drivers/video/backlight/mbp_nvidia_bl.c index 385cba40ea87..06964af761c6 100644 --- a/drivers/video/backlight/mbp_nvidia_bl.c +++ b/drivers/video/backlight/mbp_nvidia_bl.c | |||
@@ -111,6 +111,4 @@ module_exit(mbp_exit); | |||
111 | MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>"); | 111 | MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>"); |
112 | MODULE_DESCRIPTION("Nvidia-based Macbook Pro Backlight Driver"); | 112 | MODULE_DESCRIPTION("Nvidia-based Macbook Pro Backlight Driver"); |
113 | MODULE_LICENSE("GPL"); | 113 | MODULE_LICENSE("GPL"); |
114 | MODULE_ALIAS("svnAppleInc.:pnMacBookPro3,1"); | 114 | MODULE_DEVICE_TABLE(dmi, mbp_device_table); |
115 | MODULE_ALIAS("svnAppleInc.:pnMacBookPro3,2"); | ||
116 | MODULE_ALIAS("svnAppleInc.:pnMacBookPro4,1"); | ||