aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/ioport_emulate.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-09-30 08:43:34 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-09-30 08:43:34 +0100
commit43a134db615db6754d70f72bb1beca7b1e0b30a4 (patch)
tree6ad098be268fdfebed5203c49e4164b3d4a93d0b /xen/arch/x86/ioport_emulate.c
parent873563eb5aaf36cb247eb61acdb42cff8383930d (diff)
downloadxen-43a134db615db6754d70f72bb1beca7b1e0b30a4.tar.gz
xen-43a134db615db6754d70f72bb1beca7b1e0b30a4.tar.bz2
xen-43a134db615db6754d70f72bb1beca7b1e0b30a4.zip
Cleanup: Make local functions static and remove unused functions.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'xen/arch/x86/ioport_emulate.c')
-rw-r--r--xen/arch/x86/ioport_emulate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/ioport_emulate.c b/xen/arch/x86/ioport_emulate.c
index 64377533cf..d76f1ea567 100644
--- a/xen/arch/x86/ioport_emulate.c
+++ b/xen/arch/x86/ioport_emulate.c
@@ -42,7 +42,7 @@ static void ioemul_handle_proliant_quirk(
io_emul_stub[9] = 0xc3;
}
-int __init proliant_quirk(struct dmi_system_id *d)
+static int __init proliant_quirk(struct dmi_system_id *d)
{
ioemul_handle_quirk = ioemul_handle_proliant_quirk;
return 0;
@@ -121,7 +121,7 @@ static struct dmi_system_id __initdata ioport_quirks_tbl[] = {
{ }
};
-int __init ioport_quirks_init(void)
+static int __init ioport_quirks_init(void)
{
dmi_check_system(ioport_quirks_tbl);
return 0;