diff options
author | Robert Reif <reif@earthlink.net> | 2008-05-08 21:37:30 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-08 21:37:30 -0700 |
commit | 6cd5a86b56ec8fc8651c043bdb05ea0c662fb704 (patch) | |
tree | 30ba1d4946654f55570ebb69a7286d2cb72fd7a2 /drivers/video/sbuslib.h | |
parent | dc5dc7e6d71ca9fd1ea01a1418150af3b2937489 (diff) |
sparc video: remove open boot prom code
Replace remaining open boot prom code with of.
Boot tested on sparc32 and compile tested on sparc64.
Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video/sbuslib.h')
-rw-r--r-- | drivers/video/sbuslib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/sbuslib.h b/drivers/video/sbuslib.h index 492828c3fe8f..7ba3250236bd 100644 --- a/drivers/video/sbuslib.h +++ b/drivers/video/sbuslib.h @@ -11,7 +11,8 @@ struct sbus_mmap_map { #define SBUS_MMAP_FBSIZE(n) (-n) #define SBUS_MMAP_EMPTY 0x80000000 -extern void sbusfb_fill_var(struct fb_var_screeninfo *var, int prom_node, int bpp); +extern void sbusfb_fill_var(struct fb_var_screeninfo *var, + struct device_node *dp, int bpp); struct vm_area_struct; extern int sbusfb_mmap_helper(struct sbus_mmap_map *map, unsigned long physbase, unsigned long fbsize, @@ -21,6 +22,6 @@ int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg, struct fb_info *info, int type, int fb_depth, unsigned long fb_size); int sbusfb_compat_ioctl(struct fb_info *info, unsigned int cmd, - unsigned long arg); + unsigned long arg); #endif /* _SBUSLIB_H */ |