Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54922
b: refs/heads/master
c: 28cdf76
h: refs/heads/master
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed May 8, 2007
1 parent 95e72d2 commit 764f326
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 75814d87a976cc12675024c0a03e3ac3369465a0
refs/heads/master: 28cdf76bf0bce757428f84161e3aa510028d47b4
6 changes: 3 additions & 3 deletions trunk/drivers/video/hecubafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ static void apollo_send_command(struct hecubafb_par *par, unsigned char data)
static void hecubafb_dpy_update(struct hecubafb_par *par)
{
int i;
unsigned char *buf = par->info->screen_base;
unsigned char *buf = (unsigned char __force *)par->info->screen_base;

apollo_send_command(par, 0xA0);

Expand Down Expand Up @@ -303,7 +303,7 @@ static ssize_t hecubafb_write(struct file *file, const char __user *buf,
if (count) {
char *base_addr;

base_addr = info->screen_base;
base_addr = (char __force *)info->screen_base;
count -= copy_from_user(base_addr + p, buf, count);
*ppos += count;
err = -EFAULT;
Expand Down Expand Up @@ -409,7 +409,7 @@ static int __devexit hecubafb_remove(struct platform_device *dev)
if (info) {
fb_deferred_io_cleanup(info);
unregister_framebuffer(info);
vfree(info->screen_base);
vfree((void __force *)info->screen_base);
framebuffer_release(info);
}
return 0;
Expand Down

0 comments on commit 764f326

Please sign in to comment.