diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-08-01 05:22:58 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-11 05:16:06 -0500 |
commit | ef299dfc2d906770103f058795a26e6acfa68ae0 (patch) | |
tree | 828a9d66bb9cca96c78912baf31182b0653684a7 | |
parent | 24d6e5cb191189531396870402bf276aacf01598 (diff) |
VIDEO: cyberpro: remove useless function extreg pointers
Sub-drivers can call these functions directly, there's no need for
this kind of indirection.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/video/cyber2000fb.c | 2 | ||||
-rw-r--r-- | drivers/video/cyber2000fb.h | 9 |
2 files changed, 0 insertions, 11 deletions
diff --git a/drivers/video/cyber2000fb.c b/drivers/video/cyber2000fb.c index e802cc36dbc6..29f78fc2d508 100644 --- a/drivers/video/cyber2000fb.c +++ b/drivers/video/cyber2000fb.c | |||
@@ -1144,8 +1144,6 @@ int cyber2000fb_attach(struct cyberpro_info *info, int idx) | |||
1144 | info->irq = int_cfb_info->irq; | 1144 | info->irq = int_cfb_info->irq; |
1145 | info->fb = int_cfb_info->fb.screen_base; | 1145 | info->fb = int_cfb_info->fb.screen_base; |
1146 | info->fb_size = int_cfb_info->fb.fix.smem_len; | 1146 | info->fb_size = int_cfb_info->fb.fix.smem_len; |
1147 | info->enable_extregs = cyber2000fb_enable_extregs; | ||
1148 | info->disable_extregs = cyber2000fb_disable_extregs; | ||
1149 | info->info = int_cfb_info; | 1147 | info->info = int_cfb_info; |
1150 | 1148 | ||
1151 | strlcpy(info->dev_name, int_cfb_info->fb.fix.id, | 1149 | strlcpy(info->dev_name, int_cfb_info->fb.fix.id, |
diff --git a/drivers/video/cyber2000fb.h b/drivers/video/cyber2000fb.h index 555c8d4f2b76..23b15e4f63fe 100644 --- a/drivers/video/cyber2000fb.h +++ b/drivers/video/cyber2000fb.h | |||
@@ -480,15 +480,6 @@ struct cyberpro_info { | |||
480 | * is within this structure. | 480 | * is within this structure. |
481 | */ | 481 | */ |
482 | struct cfb_info *info; | 482 | struct cfb_info *info; |
483 | |||
484 | /* | ||
485 | * Use these to enable the BM or TV registers. In an SMP | ||
486 | * environment, these two function pointers should only be | ||
487 | * called from the module_init() or module_exit() | ||
488 | * functions. | ||
489 | */ | ||
490 | void (*enable_extregs)(struct cfb_info *); | ||
491 | void (*disable_extregs)(struct cfb_info *); | ||
492 | }; | 483 | }; |
493 | 484 | ||
494 | #define ID_IGA_1682 0 | 485 | #define ID_IGA_1682 0 |