From: Tony Luck Date: Thu, 13 Jan 2011 22:49:56 +0000 (-0800) Subject: [IA64] fix build error - arch/ia64/kernel/perfmon.c X-Git-Tag: firefly_0821_release~7613^2~2869^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=09579770dcb8769f4f61046dcd01cc758cfa6d91;p=firefly-linux-kernel-4.4.55.git [IA64] fix build error - arch/ia64/kernel/perfmon.c arch/ia64/kernel/perfmon.c:621: error: duplicate 'static' Introduced by commit c74a1cbb3cac348f276fabc381758f5b0b4713b2 pass default dentry_operations to mount_pseudo() Signed-off-by: Tony Luck --- diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index ac76da099a6d..89accc626b86 100644 --- a/arch/ia64/kernel/perfmon.c +++ b/arch/ia64/kernel/perfmon.c @@ -618,7 +618,7 @@ pfm_get_unmapped_area(struct file *file, unsigned long addr, unsigned long len, } /* forward declaration */ -static static const struct dentry_operations pfmfs_dentry_operations; +static const struct dentry_operations pfmfs_dentry_operations; static struct dentry * pfmfs_mount(struct file_system_type *fs_type, int flags, const char *dev_name, void *data)