]> Devoid-pointer.net GitWeb - omnibook.git/commitdiff
* Fix 'flags': it's an unsigned long.
authorMathieu Bérard <mathieu.berard@crans.org>
Thu, 2 Nov 2006 17:47:53 +0000 (17:47 +0000)
committerMathieu Bérard <mathieu.berard@crans.org>
Thu, 2 Nov 2006 17:47:53 +0000 (17:47 +0000)
nbsmi.c

diff --git a/nbsmi.c b/nbsmi.c
index c703fdd66d0f045e8dec2483dc37cd9ad7b2fd70..99c54d905cc30e71b4033a2e32e70bb8676e8820 100644 (file)
--- a/nbsmi.c
+++ b/nbsmi.c
@@ -94,7 +94,7 @@ extern const struct pci_device_id lpc_bridge_table[];
 
 static inline u32 ati_do_smi_call( u16 function)
 {
-       u32 flags;
+       unsigned long flags;
        u32 retval = 0;
        spin_lock_irqsave(&smi_spinlock,flags);
        
@@ -132,7 +132,8 @@ static inline u32 ati_do_smi_call( u16 function)
 
 static inline u32 intel_do_smi_call(u16 function)
 {
-       u32 state, sci_en, flags;
+       u32 state, sci_en;
+       unsigned long flags;
        u32 retval = 0;
        spin_lock_irqsave(&smi_spinlock,flags);