* [RFC: 2.6 patch] drivers/video/: remove unused exports
@ 2006-05-01 7:11 Adrian Bunk
2006-05-01 8:02 ` Antonino A. Daplas
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2006-05-01 7:11 UTC (permalink / raw)
To: Andrew Morton; +Cc: adaplas, linux-fbdev-devel
This patch removes the following unused EXPORT_SYMBOL's:
- fbcvt.c: fb_find_mode_cvt
- fbmem.c: fb_con_duit
- fbmem.c: fb_new_modelist
- macmodes.c: mac_var_to_vmode
- modedb.c: fb_delete_videomode
- modedb.c: fb_destroy_modelist
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 11 Apr 2006
drivers/video/fbcvt.c | 1 -
drivers/video/fbmem.c | 2 --
drivers/video/macmodes.c | 1 -
drivers/video/modedb.c | 2 --
4 files changed, 6 deletions(-)
--- linux-2.6.17-rc1-mm2-full/drivers/video/fbcvt.c.old 2006-04-10 23:19:00.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/drivers/video/fbcvt.c 2006-04-10 23:19:08.000000000 +0200
@@ -376,4 +376,3 @@
return 0;
}
-EXPORT_SYMBOL(fb_find_mode_cvt);
--- linux-2.6.17-rc1-mm2-full/drivers/video/fbmem.c.old 2006-04-10 23:19:35.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/drivers/video/fbmem.c 2006-04-10 23:19:54.000000000 +0200
@@ -1500,7 +1500,6 @@
return blocking_notifier_call_chain(&fb_notifier_list, event, &evnt);
}
-EXPORT_SYMBOL(fb_con_duit);
static char *video_options[FB_MAX];
static int ofonly;
@@ -1611,6 +1610,5 @@
EXPORT_SYMBOL(fb_register_client);
EXPORT_SYMBOL(fb_unregister_client);
EXPORT_SYMBOL(fb_get_options);
-EXPORT_SYMBOL(fb_new_modelist);
MODULE_LICENSE("GPL");
--- linux-2.6.17-rc1-mm2-full/drivers/video/macmodes.c.old 2006-04-10 23:21:51.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/drivers/video/macmodes.c 2006-04-10 23:21:59.000000000 +0200
@@ -327,7 +327,6 @@
}
return -EINVAL;
}
-EXPORT_SYMBOL(mac_var_to_vmode);
/**
* mac_map_monitor_sense - Convert monitor sense to vmode
--- linux-2.6.17-rc1-mm2-full/drivers/video/modedb.c.old 2006-04-10 23:23:12.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/drivers/video/modedb.c 2006-04-10 23:23:30.000000000 +0200
@@ -1016,8 +1016,6 @@
EXPORT_SYMBOL(fb_var_to_videomode);
EXPORT_SYMBOL(fb_mode_is_equal);
EXPORT_SYMBOL(fb_add_videomode);
-EXPORT_SYMBOL(fb_delete_videomode);
-EXPORT_SYMBOL(fb_destroy_modelist);
EXPORT_SYMBOL(fb_match_mode);
EXPORT_SYMBOL(fb_find_best_mode);
EXPORT_SYMBOL(fb_find_nearest_mode);
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [RFC: 2.6 patch] drivers/video/: remove unused exports
2006-05-01 7:11 [RFC: 2.6 patch] drivers/video/: remove unused exports Adrian Bunk
@ 2006-05-01 8:02 ` Antonino A. Daplas
0 siblings, 0 replies; 3+ messages in thread
From: Antonino A. Daplas @ 2006-05-01 8:02 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Andrew Morton, linux-fbdev-devel
Adrian Bunk wrote:
> This patch removes the following unused EXPORT_SYMBOL's:
> - fbcvt.c: fb_find_mode_cvt
> - fbmem.c: fb_con_duit
> - fbmem.c: fb_new_modelist
> - macmodes.c: mac_var_to_vmode
mac_var_to_vmode is used by valkyriefb, platinumfb and
controlfb, but they cannot be compiled as modules, so
yes, no need to export this.
> - modedb.c: fb_delete_videomode
> - modedb.c: fb_destroy_modelist
These are meant to be used by other modules, but okay,
we'll just do the exporting later as needed.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Antonino Daplas <adaplas@pol.net>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 3+ messages in thread
* [RFC: 2.6 patch] drivers/video/: remove unused exports
@ 2006-04-10 22:22 Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2006-04-10 22:22 UTC (permalink / raw)
To: adaplas; +Cc: linux-fbdev-devel
This patch removes the following unused EXPORT_SYMBOL's:
- fbcvt.c: fb_find_mode_cvt
- fbmem.c: fb_con_duit
- fbmem.c: fb_new_modelist
- macmodes.c: mac_var_to_vmode
- modedb.c: fb_delete_videomode
- modedb.c: fb_destroy_modelist
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/video/fbcvt.c | 1 -
drivers/video/fbmem.c | 2 --
drivers/video/macmodes.c | 1 -
drivers/video/modedb.c | 2 --
4 files changed, 6 deletions(-)
--- linux-2.6.17-rc1-mm2-full/drivers/video/fbcvt.c.old 2006-04-10 23:19:00.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/drivers/video/fbcvt.c 2006-04-10 23:19:08.000000000 +0200
@@ -376,4 +376,3 @@
return 0;
}
-EXPORT_SYMBOL(fb_find_mode_cvt);
--- linux-2.6.17-rc1-mm2-full/drivers/video/fbmem.c.old 2006-04-10 23:19:35.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/drivers/video/fbmem.c 2006-04-10 23:19:54.000000000 +0200
@@ -1500,7 +1500,6 @@
return blocking_notifier_call_chain(&fb_notifier_list, event, &evnt);
}
-EXPORT_SYMBOL(fb_con_duit);
static char *video_options[FB_MAX];
static int ofonly;
@@ -1611,6 +1610,5 @@
EXPORT_SYMBOL(fb_register_client);
EXPORT_SYMBOL(fb_unregister_client);
EXPORT_SYMBOL(fb_get_options);
-EXPORT_SYMBOL(fb_new_modelist);
MODULE_LICENSE("GPL");
--- linux-2.6.17-rc1-mm2-full/drivers/video/macmodes.c.old 2006-04-10 23:21:51.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/drivers/video/macmodes.c 2006-04-10 23:21:59.000000000 +0200
@@ -327,7 +327,6 @@
}
return -EINVAL;
}
-EXPORT_SYMBOL(mac_var_to_vmode);
/**
* mac_map_monitor_sense - Convert monitor sense to vmode
--- linux-2.6.17-rc1-mm2-full/drivers/video/modedb.c.old 2006-04-10 23:23:12.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/drivers/video/modedb.c 2006-04-10 23:23:30.000000000 +0200
@@ -1016,8 +1016,6 @@
EXPORT_SYMBOL(fb_var_to_videomode);
EXPORT_SYMBOL(fb_mode_is_equal);
EXPORT_SYMBOL(fb_add_videomode);
-EXPORT_SYMBOL(fb_delete_videomode);
-EXPORT_SYMBOL(fb_destroy_modelist);
EXPORT_SYMBOL(fb_match_mode);
EXPORT_SYMBOL(fb_find_best_mode);
EXPORT_SYMBOL(fb_find_nearest_mode);
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-01 8:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-01 7:11 [RFC: 2.6 patch] drivers/video/: remove unused exports Adrian Bunk
2006-05-01 8:02 ` Antonino A. Daplas
-- strict thread matches above, loose matches on Subject: below --
2006-04-10 22:22 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).