]> git.baikalelectronics.ru Git - kernel.git/commit
dell-laptop: Fix build error by making buffer_mutex static
authorIngo Molnar <mingo@elte.hu>
Mon, 1 Mar 2010 14:43:52 +0000 (09:43 -0500)
committerMatthew Garrett <mjg@redhat.com>
Mon, 1 Mar 2010 14:43:52 +0000 (09:43 -0500)
commitf26f2375e3e1d6ad0641ccce0745a9236c39b02e
treed73b42a1cfac190234be138e352b531f07ddec68
parentafc96aa3781dfecd4220e919de9c48314fe88d2d
dell-laptop: Fix build error by making buffer_mutex static

The following build bug (x86, allyesconfig):

  arch/x86/oprofile/built-in.o:(.data+0x250): multiple definition of `buffer_mutex'

Was triggered in -tip testing, caused by this upstream commit:

  39a4699: dell-laptop: Use buffer with 32-bit physical address

There's multiple buffer_mutex's in the kernel. Make this new one
static.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/platform/x86/dell-laptop.c