Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199642
b: refs/heads/master
c: 45fdf00
h: refs/heads/master
v: v3
  • Loading branch information
Alexandre Bounine authored and Grant Likely committed Jun 2, 2010
1 parent e3a6774 commit c8c77bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a57ee627499d116f6872a5634ea4f015da0eacd2
refs/heads/master: 45fdf00dea92a480a8023c94d1a1aa887dcd3f69
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/sysdev/fsl_rio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ int fsl_rio_setup(struct of_device *dev)
port->iores.flags = IORESOURCE_MEM;
port->iores.name = "rio_io_win";

priv->pwirq = irq_of_parse_and_map(dev->node, 0);
priv->pwirq = irq_of_parse_and_map(dev->dev.of_node, 0);
priv->bellirq = irq_of_parse_and_map(dev->dev.of_node, 2);
priv->txirq = irq_of_parse_and_map(dev->dev.of_node, 3);
priv->rxirq = irq_of_parse_and_map(dev->dev.of_node, 4);
Expand Down
9 changes: 3 additions & 6 deletions trunk/drivers/video/aty/mach64_accel.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ void atyfb_copyarea(struct fb_info *info, const struct fb_copyarea *area)
void atyfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
{
struct atyfb_par *par = (struct atyfb_par *) info->par;
u32 color, dx = rect->dx, width = rect->width, rotation = 0;
u32 color = rect->color, dx = rect->dx, width = rect->width, rotation = 0;

if (par->asleep)
return;
Expand All @@ -253,11 +253,8 @@ void atyfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
return;
}

if (info->fix.visual == FB_VISUAL_TRUECOLOR ||
info->fix.visual == FB_VISUAL_DIRECTCOLOR)
color = ((u32 *)(info->pseudo_palette))[rect->color];
else
color = rect->color;
color |= (rect->color << 8);
color |= (rect->color << 16);

if (info->var.bits_per_pixel == 24) {
/* In 24 bpp, the engine is in 8 bpp - this requires that all */
Expand Down

0 comments on commit c8c77bd

Please sign in to comment.