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

Commit 55572b29 authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

x86, mrst: A function in a header file needs to be marked "inline"



A function in a header file needs to be explicitly marked "inline", or
gcc will complain if it is not used.

Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: <stable@kernel.org> v2.6.36
LKML-Reference: <1274295685-6774-3-git-send-email-jacob.jun.pan@linux.intel.com>
parent cb655d0f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ enum mrst_cpu_type {
};

extern enum mrst_cpu_type __mrst_cpu_chip;
static enum mrst_cpu_type mrst_identify_cpu(void)
static inline enum mrst_cpu_type mrst_identify_cpu(void)
{
	return __mrst_cpu_chip;
}