]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
frv: remove unused cpuinfo_frv and friends to fix future build error
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 9 Oct 2014 22:30:06 +0000 (15:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:26:03 +0000 (22:26 -0400)
commit21f456607a7acc73947580a84eb36d180d2562b7
tree1b46f8abb2a6b1b1967a43395b254fff450fb3d5
parentf203c3b33f0891da98ae3dcf829851c48473ed60
frv: remove unused cpuinfo_frv and friends to fix future build error

Frv has a macro named cpu_data, interfering with variables and struct
members with the same name:

include/linux/pm_domain.h:75:24: error: expected identifier or '('
before '&' token
  struct gpd_cpu_data *cpu_data;

As struct cpuinfo_frv, boot_cpu_data, cpu_data, and current_cpu_data are
not used, removed them to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/include/asm/processor.h
arch/frv/kernel/setup.c