From: Thomas Gleixner Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton --- 25-akpm/drivers/video/console/mdacon.c | 2 +- 25-akpm/drivers/video/console/vgacon.c | 2 +- 25-akpm/drivers/video/hgafb.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/video/console/mdacon.c~lock-initializer-cleanup-video drivers/video/console/mdacon.c --- 25/drivers/video/console/mdacon.c~lock-initializer-cleanup-video 2005-01-18 00:51:46.579577512 -0800 +++ 25-akpm/drivers/video/console/mdacon.c 2005-01-18 00:51:46.585576600 -0800 @@ -47,7 +47,7 @@ #include #include -static spinlock_t mda_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(mda_lock); /* description of the hardware layout */ diff -puN drivers/video/console/vgacon.c~lock-initializer-cleanup-video drivers/video/console/vgacon.c --- 25/drivers/video/console/vgacon.c~lock-initializer-cleanup-video 2005-01-18 00:51:46.580577360 -0800 +++ 25-akpm/drivers/video/console/vgacon.c 2005-01-18 00:52:10.536935440 -0800 @@ -53,7 +53,7 @@ #include