X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fvideo%2Fconsole%2Fsticore.c;h=836196d3517ef27f83ca76eec18c839138c820d9;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=7cf956e4a1344b45c4520921f0901dc164fe499e;hpb=9bf4aaab3e101692164d49b7ca357651eb691cb6;p=linux-2.6.git diff --git a/drivers/video/console/sticore.c b/drivers/video/console/sticore.c index 7cf956e4a..836196d35 100644 --- a/drivers/video/console/sticore.c +++ b/drivers/video/console/sticore.c @@ -817,7 +817,7 @@ sti_try_rom_generic(unsigned long address, unsigned long hpa, struct pci_dev *pd } memset(sti, 0, sizeof(*sti)); - sti->lock = SPIN_LOCK_UNLOCKED; + spin_lock_init(&sti->lock); test_rom: /* if we can't read the ROM, bail out early. Not being able