x86, microcode, amd: Fix missing static declaration
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 23 Jul 2014 20:10:44 +0000 (17:10 -0300)
committerBorislav Petkov <bp@suse.de>
Thu, 24 Jul 2014 10:21:46 +0000 (12:21 +0200)
Make locally used variable static.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Link: http://lkml.kernel.org/r/1406146251-8540-1-git-send-email-hmh@hmh.eng.br
Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/kernel/cpu/microcode/amd_early.c

index 617a9e28424560d28e7594e2c8213985aaef3de2..7aa1acc79789aa9c38de7509dcb018132a50d901 100644 (file)
@@ -27,7 +27,7 @@ static u32 ucode_new_rev;
 u8 amd_ucode_patch[PATCH_MAX_SIZE];
 static u16 this_equiv_id;
 
-struct cpio_data ucode_cpio;
+static struct cpio_data ucode_cpio;
 
 /*
  * Microcode patch container file is prepended to the initrd in cpio format.