1 |
|
2 |
fix build with 3.0 |
3 |
|
4 |
Signed-off-by: Thomas Backlund <tmb@mageia.org> |
5 |
|
6 |
3rdparty/viahss/viahss.c | 2 +- |
7 |
1 file changed, 1 insertion(+), 1 deletion(-) |
8 |
|
9 |
--- a/3rdparty/viahss/viahss.c.orig 2011-07-15 02:37:27.000000000 +0300 |
10 |
+++ a/3rdparty/viahss/viahss.c 2011-07-15 13:48:13.204291256 +0300 |
11 |
@@ -19,7 +19,7 @@ |
12 |
const unsigned short confindex=0x3F0,confdata=0x3F1; |
13 |
const unsigned char spcidx=0xEE; |
14 |
|
15 |
-spinlock_t driver_lock = SPIN_LOCK_UNLOCKED; |
16 |
+DEFINE_SPINLOCK(driver_lock); |
17 |
|
18 |
static int __init viahss_init(void) |
19 |
{ |