[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] ns16550: check_existence() can be marked __init



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1248796086 -3600
# Node ID 0ed80e4e2780396b37cf62fd564df53e46b8cf59
# Parent  0532b32701f85179020e3df06e7485ec3d3cdc4a
ns16550: check_existence() can be marked __init

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 xen/drivers/char/ns16550.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 0532b32701f8 -r 0ed80e4e2780 xen/drivers/char/ns16550.c
--- a/xen/drivers/char/ns16550.c        Tue Jul 28 16:47:37 2009 +0100
+++ b/xen/drivers/char/ns16550.c        Tue Jul 28 16:48:06 2009 +0100
@@ -299,7 +299,7 @@ static int __init parse_parity_char(int 
     return 0;
 }
 
-static int check_existence(struct ns16550 *uart)
+static int __init check_existence(struct ns16550 *uart)
 {
     unsigned char status, scratch, scratch2, scratch3;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.