]> git.baikalelectronics.ru Git - kernel.git/commit
arch/avr32: fix build failure caused by wrong prototype
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 27 Apr 2010 20:13:04 +0000 (13:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 27 Apr 2010 23:26:03 +0000 (16:26 -0700)
commit911ec3a0fa048448b6070960bbf8411bf4422f58
treeb8a59588acdd840cc0a1d5715f0ffc6cddf4199c
parent7183b9dfb3e5173feb349c9fadab7499c3be588b
arch/avr32: fix build failure caused by wrong prototype

This patch fixes a build failure introduced by 70ccd50ad ("avr32: use
generic ptrace_resume code") which had the static keyword as a leftover.

  arch/avr32/kernel/ptrace.c:32: error: static declaration of `user_enable_single_step' follows non-static declaration
  include/linux/ptrace.h:268: error: previous declaration of `user_enable_single_step' was here

References:
[1]http://kisskb.ellerman.id.au/kisskb/buildresult/2448162/

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/avr32/kernel/ptrace.c