[PATCH] Update platinumfb driver

This updates the PowerMac-only platinumfb driver to use the new mac-io
device infrastructure.  It also switch allocation to the new
framebuffer_alloc/release and fix a couple of bugs.
parent f2d07c25
...@@ -103,6 +103,8 @@ extern int hgafb_setup(char*); ...@@ -103,6 +103,8 @@ extern int hgafb_setup(char*);
extern int matroxfb_init(void); extern int matroxfb_init(void);
extern int matroxfb_setup(char*); extern int matroxfb_setup(char*);
extern int hpfb_init(void); extern int hpfb_init(void);
extern int platinumfb_init(void);
extern int platinumfb_setup(char*);
extern int control_init(void); extern int control_init(void);
extern int control_setup(char*); extern int control_setup(char*);
extern int platinum_init(void); extern int platinum_init(void);
...@@ -230,7 +232,7 @@ static struct { ...@@ -230,7 +232,7 @@ static struct {
{ "controlfb", control_init, control_setup }, { "controlfb", control_init, control_setup },
#endif #endif
#ifdef CONFIG_FB_PLATINUM #ifdef CONFIG_FB_PLATINUM
{ "platinumfb", platinum_init, platinum_setup }, { "platinumfb", platinumfb_init, platinumfb_setup },
#endif #endif
#ifdef CONFIG_FB_VALKYRIE #ifdef CONFIG_FB_VALKYRIE
{ "valkyriefb", valkyriefb_init, valkyriefb_setup }, { "valkyriefb", valkyriefb_init, valkyriefb_setup },
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment