summaryrefslogtreecommitdiff
path: root/drivers/video/geode/display_gx1.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/geode/display_gx1.c')
-rw-r--r--drivers/video/geode/display_gx1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/geode/display_gx1.c b/drivers/video/geode/display_gx1.c
index f4983879fcc4..926d53eeb549 100644
--- a/drivers/video/geode/display_gx1.c
+++ b/drivers/video/geode/display_gx1.c
@@ -22,7 +22,7 @@
#include "geodefb.h"
#include "display_gx1.h"
-static spinlock_t gx1_conf_reg_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(gx1_conf_reg_lock);
static u8 gx1_read_conf_reg(u8 reg)
{