Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c72f4d61 authored by Paul Gortmaker's avatar Paul Gortmaker
Browse files

mips: fix implicit smp.h usage in various files.



We need to call out inclusion of smp.h, or with the module.h cleanup
we'll get things like:

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

arch/mips/vr41xx/common/giu.c:84: error: implicit declaration of function 'smp_processor_id'

arch/mips/vr41xx/common/rtc.c:85: error: implicit declaration of function 'smp_processor_id'

Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 06372a63
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
 */

#include <linux/err.h>
#include <linux/smp.h>
#include <linux/platform_device.h>

static struct platform_device loongson2_cpufreq_device = {
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
 */
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>

+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
 */
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>