]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mips: fix implicit smp.h usage in loongson/common/platform.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 23:39:02 +0000 (19:39 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:24 +0000 (04:05 -0400)
With the module.h cleanup, we'll get:

arch/mips/loongson/common/platform.c:21: error: implicit declaration of function 'smp_processor_id'

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/mips/loongson/common/platform.c

index ed007a2e0e1f0641e0406c63e3b0b7c48c5d9feb..502b059de42274d21ae94b3606cdb8a5cc39b5e9 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <linux/err.h>
+#include <linux/smp.h>
 #include <linux/platform_device.h>
 
 static struct platform_device loongson2_cpufreq_device = {