diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/sbus/char/bpp.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/Kconfig | 2 | ||||
| -rw-r--r-- | drivers/video/bw2.c | 2 | ||||
| -rw-r--r-- | drivers/video/cg3.c | 2 | ||||
| -rw-r--r-- | drivers/video/cg6.c | 2 | ||||
| -rw-r--r-- | drivers/video/ffb.c | 2 | ||||
| -rw-r--r-- | drivers/video/leo.c | 2 | ||||
| -rw-r--r-- | drivers/video/p9100.c | 2 | ||||
| -rw-r--r-- | drivers/video/tcx.c | 20 |
9 files changed, 15 insertions, 21 deletions
diff --git a/drivers/sbus/char/bpp.c b/drivers/sbus/char/bpp.c index 4fab0c23814c..b87037ec9805 100644 --- a/drivers/sbus/char/bpp.c +++ b/drivers/sbus/char/bpp.c | |||
| @@ -41,7 +41,7 @@ | |||
| 41 | #define BPP_DELAY 100 | 41 | #define BPP_DELAY 100 |
| 42 | 42 | ||
| 43 | static const unsigned BPP_MAJOR = LP_MAJOR; | 43 | static const unsigned BPP_MAJOR = LP_MAJOR; |
| 44 | static const char* dev_name = "bpp"; | 44 | static const char *bpp_dev_name = "bpp"; |
| 45 | 45 | ||
| 46 | /* When switching from compatibility to a mode where I can read, try | 46 | /* When switching from compatibility to a mode where I can read, try |
| 47 | the following mode first. */ | 47 | the following mode first. */ |
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 33b467a8352d..1ef6df395e0c 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig | |||
| @@ -129,7 +129,7 @@ config USB_ISP1760_PCI | |||
| 129 | 129 | ||
| 130 | config USB_ISP1760_OF | 130 | config USB_ISP1760_OF |
| 131 | bool "Support for the OF platform bus" | 131 | bool "Support for the OF platform bus" |
| 132 | depends on USB_ISP1760_HCD && OF | 132 | depends on USB_ISP1760_HCD && PPC_OF |
| 133 | ---help--- | 133 | ---help--- |
| 134 | Enables support for the device present on the PowerPC | 134 | Enables support for the device present on the PowerPC |
| 135 | OpenFirmware platform bus. | 135 | OpenFirmware platform bus. |
diff --git a/drivers/video/bw2.c b/drivers/video/bw2.c index 275d9dab0c61..79f85dc402d6 100644 --- a/drivers/video/bw2.c +++ b/drivers/video/bw2.c | |||
| @@ -329,7 +329,7 @@ static int __devinit bw2_probe(struct of_device *op, const struct of_device_id * | |||
| 329 | if (!info->screen_base) | 329 | if (!info->screen_base) |
| 330 | goto out_unmap_regs; | 330 | goto out_unmap_regs; |
| 331 | 331 | ||
| 332 | bw2_blank(0, info); | 332 | bw2_blank(FB_BLANK_UNBLANK, info); |
| 333 | 333 | ||
| 334 | bw2_init_fix(info, linebytes); | 334 | bw2_init_fix(info, linebytes); |
| 335 | 335 | ||
diff --git a/drivers/video/cg3.c b/drivers/video/cg3.c index 010ea53978f8..e31e26a6bb79 100644 --- a/drivers/video/cg3.c +++ b/drivers/video/cg3.c | |||
| @@ -398,7 +398,7 @@ static int __devinit cg3_probe(struct of_device *op, | |||
| 398 | if (!info->screen_base) | 398 | if (!info->screen_base) |
| 399 | goto out_unmap_regs; | 399 | goto out_unmap_regs; |
| 400 | 400 | ||
| 401 | cg3_blank(0, info); | 401 | cg3_blank(FB_BLANK_UNBLANK, info); |
| 402 | 402 | ||
| 403 | if (!of_find_property(dp, "width", NULL)) { | 403 | if (!of_find_property(dp, "width", NULL)) { |
| 404 | err = cg3_do_default_mode(par); | 404 | err = cg3_do_default_mode(par); |
diff --git a/drivers/video/cg6.c b/drivers/video/cg6.c index fc90db6da65a..8000bccecdc6 100644 --- a/drivers/video/cg6.c +++ b/drivers/video/cg6.c | |||
| @@ -767,7 +767,7 @@ static int __devinit cg6_probe(struct of_device *op, | |||
| 767 | 767 | ||
| 768 | cg6_bt_init(par); | 768 | cg6_bt_init(par); |
| 769 | cg6_chip_init(info); | 769 | cg6_chip_init(info); |
| 770 | cg6_blank(0, info); | 770 | cg6_blank(FB_BLANK_UNBLANK, info); |
| 771 | 771 | ||
| 772 | if (fb_alloc_cmap(&info->cmap, 256, 0)) | 772 | if (fb_alloc_cmap(&info->cmap, 256, 0)) |
| 773 | goto out_unmap_regs; | 773 | goto out_unmap_regs; |
diff --git a/drivers/video/ffb.c b/drivers/video/ffb.c index 93dca3e2aa50..0f42a696d176 100644 --- a/drivers/video/ffb.c +++ b/drivers/video/ffb.c | |||
| @@ -987,7 +987,7 @@ static int __devinit ffb_probe(struct of_device *op, | |||
| 987 | * chosen console, it will have video outputs off in | 987 | * chosen console, it will have video outputs off in |
| 988 | * the DAC. | 988 | * the DAC. |
| 989 | */ | 989 | */ |
| 990 | ffb_blank(0, info); | 990 | ffb_blank(FB_BLANK_UNBLANK, info); |
| 991 | 991 | ||
| 992 | if (fb_alloc_cmap(&info->cmap, 256, 0)) | 992 | if (fb_alloc_cmap(&info->cmap, 256, 0)) |
| 993 | goto out_unmap_dac; | 993 | goto out_unmap_dac; |
diff --git a/drivers/video/leo.c b/drivers/video/leo.c index f3160fc29795..fb129928d5d5 100644 --- a/drivers/video/leo.c +++ b/drivers/video/leo.c | |||
| @@ -601,7 +601,7 @@ static int __devinit leo_probe(struct of_device *op, const struct of_device_id * | |||
| 601 | leo_init_wids(info); | 601 | leo_init_wids(info); |
| 602 | leo_init_hw(info); | 602 | leo_init_hw(info); |
| 603 | 603 | ||
| 604 | leo_blank(0, info); | 604 | leo_blank(FB_BLANK_UNBLANK, info); |
| 605 | 605 | ||
| 606 | if (fb_alloc_cmap(&info->cmap, 256, 0)) | 606 | if (fb_alloc_cmap(&info->cmap, 256, 0)) |
| 607 | goto out_unmap_regs; | 607 | goto out_unmap_regs; |
diff --git a/drivers/video/p9100.c b/drivers/video/p9100.c index c95874fe9076..676ffb06d1c7 100644 --- a/drivers/video/p9100.c +++ b/drivers/video/p9100.c | |||
| @@ -295,7 +295,7 @@ static int __devinit p9100_probe(struct of_device *op, const struct of_device_id | |||
| 295 | if (!info->screen_base) | 295 | if (!info->screen_base) |
| 296 | goto out_unmap_regs; | 296 | goto out_unmap_regs; |
| 297 | 297 | ||
| 298 | p9100_blank(0, info); | 298 | p9100_blank(FB_BLANK_UNBLANK, info); |
| 299 | 299 | ||
| 300 | if (fb_alloc_cmap(&info->cmap, 256, 0)) | 300 | if (fb_alloc_cmap(&info->cmap, 256, 0)) |
| 301 | goto out_unmap_screen; | 301 | goto out_unmap_screen; |
diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c index a71774305772..44e8c27ed0fc 100644 --- a/drivers/video/tcx.c +++ b/drivers/video/tcx.c | |||
| @@ -84,7 +84,7 @@ struct tcx_tec { | |||
| 84 | 84 | ||
| 85 | struct tcx_thc { | 85 | struct tcx_thc { |
| 86 | u32 thc_rev; | 86 | u32 thc_rev; |
| 87 | u32 thc_pad0[511]; | 87 | u32 thc_pad0[511]; |
| 88 | u32 thc_hs; /* hsync timing */ | 88 | u32 thc_hs; /* hsync timing */ |
| 89 | u32 thc_hsdvs; | 89 | u32 thc_hsdvs; |
| 90 | u32 thc_hd; | 90 | u32 thc_hd; |
| @@ -126,10 +126,10 @@ struct tcx_par { | |||
| 126 | }; | 126 | }; |
| 127 | 127 | ||
| 128 | /* Reset control plane so that WID is 8-bit plane. */ | 128 | /* Reset control plane so that WID is 8-bit plane. */ |
| 129 | static void __tcx_set_control_plane (struct tcx_par *par) | 129 | static void __tcx_set_control_plane(struct tcx_par *par) |
| 130 | { | 130 | { |
| 131 | u32 __iomem *p, *pend; | 131 | u32 __iomem *p, *pend; |
| 132 | 132 | ||
| 133 | if (par->lowdepth) | 133 | if (par->lowdepth) |
| 134 | return; | 134 | return; |
| 135 | 135 | ||
| @@ -143,8 +143,8 @@ static void __tcx_set_control_plane (struct tcx_par *par) | |||
| 143 | sbus_writel(tmp, p); | 143 | sbus_writel(tmp, p); |
| 144 | } | 144 | } |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | static void tcx_reset (struct fb_info *info) | 147 | static void tcx_reset(struct fb_info *info) |
| 148 | { | 148 | { |
| 149 | struct tcx_par *par = (struct tcx_par *) info->par; | 149 | struct tcx_par *par = (struct tcx_par *) info->par; |
| 150 | unsigned long flags; | 150 | unsigned long flags; |
| @@ -365,7 +365,8 @@ static void tcx_unmap_regs(struct of_device *op, struct fb_info *info, | |||
| 365 | info->screen_base, par->fbsize); | 365 | info->screen_base, par->fbsize); |
| 366 | } | 366 | } |
| 367 | 367 | ||
| 368 | static int __devinit tcx_init_one(struct of_device *op) | 368 | static int __devinit tcx_probe(struct of_device *op, |
| 369 | const struct of_device_id *match) | ||
| 369 | { | 370 | { |
| 370 | struct device_node *dp = op->node; | 371 | struct device_node *dp = op->node; |
| 371 | struct fb_info *info; | 372 | struct fb_info *info; |
| @@ -488,13 +489,6 @@ out_err: | |||
| 488 | return err; | 489 | return err; |
| 489 | } | 490 | } |
| 490 | 491 | ||
| 491 | static int __devinit tcx_probe(struct of_device *dev, const struct of_device_id *match) | ||
| 492 | { | ||
| 493 | struct of_device *op = to_of_device(&dev->dev); | ||
| 494 | |||
| 495 | return tcx_init_one(op); | ||
| 496 | } | ||
| 497 | |||
| 498 | static int __devexit tcx_remove(struct of_device *op) | 492 | static int __devexit tcx_remove(struct of_device *op) |
| 499 | { | 493 | { |
| 500 | struct fb_info *info = dev_get_drvdata(&op->dev); | 494 | struct fb_info *info = dev_get_drvdata(&op->dev); |
