Sophie

Sophie

distrib > Mageia > 8 > i586 > by-pkgid > f65f1d773383ac49d6fcc3657259ff43 > files > 33

kernel-5.10.45-2.mga8.src.rpm


fix build with 3.0

Signed-off-by: Thomas Backlund <tmb@mageia.org>

 3rdparty/viahss/viahss.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/3rdparty/viahss/viahss.c.orig	2011-07-15 02:37:27.000000000 +0300
+++ a/3rdparty/viahss/viahss.c	2011-07-15 13:48:13.204291256 +0300
@@ -19,7 +19,7 @@
 const unsigned short confindex=0x3F0,confdata=0x3F1;
 const unsigned char spcidx=0xEE;
 
-spinlock_t driver_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(driver_lock);
 
 static int __init viahss_init(void)
 {