From e0cc302c707ed35bab915cbce27f40b0ffa2974f Mon Sep 17 00:00:00 2001 From: Ivo van Doorn Date: Thu, 27 Sep 2007 14:57:05 -0700 Subject: [PATCH] --- yaml --- r: 66808 b: refs/heads/master c: fe242cfd3390b1c7d54d60f7ebb6a4054804cd41 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/rfkill.h | 4 +--- trunk/net/rfkill/rfkill-input.c | 2 ++ trunk/net/rfkill/rfkill-input.h | 16 ++++++++++++++++ trunk/net/rfkill/rfkill.c | 2 +- 5 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 trunk/net/rfkill/rfkill-input.h diff --git a/[refs] b/[refs] index 75d3d31bad2f..04427a29a634 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a50e2e3f3e6303e893c4c438c0692d459d7093a5 +refs/heads/master: fe242cfd3390b1c7d54d60f7ebb6a4054804cd41 diff --git a/trunk/include/linux/rfkill.h b/trunk/include/linux/rfkill.h index 8909682415dc..d76397ca95ad 100644 --- a/trunk/include/linux/rfkill.h +++ b/trunk/include/linux/rfkill.h @@ -2,7 +2,7 @@ #define __RFKILL_H /* - * Copyright (C) 2006 Ivo van Doorn + * Copyright (C) 2006 - 2007 Ivo van Doorn * Copyright (C) 2007 Dmitry Torokhov * * This program is free software; you can redistribute it and/or modify @@ -84,6 +84,4 @@ void rfkill_free(struct rfkill *rfkill); int rfkill_register(struct rfkill *rfkill); void rfkill_unregister(struct rfkill *rfkill); -void rfkill_switch_all(enum rfkill_type type, enum rfkill_state state); - #endif /* RFKILL_H */ diff --git a/trunk/net/rfkill/rfkill-input.c b/trunk/net/rfkill/rfkill-input.c index 8e4516a5fe32..eaabf087c59b 100644 --- a/trunk/net/rfkill/rfkill-input.c +++ b/trunk/net/rfkill/rfkill-input.c @@ -17,6 +17,8 @@ #include #include +#include "rfkill-input.h" + MODULE_AUTHOR("Dmitry Torokhov "); MODULE_DESCRIPTION("Input layer to RF switch connector"); MODULE_LICENSE("GPL"); diff --git a/trunk/net/rfkill/rfkill-input.h b/trunk/net/rfkill/rfkill-input.h new file mode 100644 index 000000000000..4dae5006fc77 --- /dev/null +++ b/trunk/net/rfkill/rfkill-input.h @@ -0,0 +1,16 @@ +/* + * Copyright (C) 2007 Ivo van Doorn + */ + +/* + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + */ + +#ifndef __RFKILL_INPUT_H +#define __RFKILL_INPUT_H + +void rfkill_switch_all(enum rfkill_type type, enum rfkill_state state); + +#endif /* __RFKILL_INPUT_H */ diff --git a/trunk/net/rfkill/rfkill.c b/trunk/net/rfkill/rfkill.c index 03ed7fd8afe0..637a9f0c7655 100644 --- a/trunk/net/rfkill/rfkill.c +++ b/trunk/net/rfkill/rfkill.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006 Ivo van Doorn + * Copyright (C) 2006 - 2007 Ivo van Doorn * Copyright (C) 2007 Dmitry Torokhov * * This program is free software; you can redistribute it and/or modify