lkml.org 
[lkml]   [2014]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drivers/tty/nozomi.c: Use 'nozomi_setup_memory' instead of 'setup_memory'
On 08/08/2014, 05:56 PM, Chen Gang wrote:
> Several architectures (e.g. microblaze, um, and score) have already have
> extern 'setup_memory', so need use 'nozomi_setup_memory' instead of, or
> will cause compiling issue.
>
> The related error (with allmodconfig for microblaze):
>
> CC [M] drivers/tty/nozomi.o
> drivers/tty/nozomi.c:526:13: error: conflicting types for 'setup_memory'
> static void setup_memory(struct nozomi *dc)
> ^
> In file included from include/linux/mm.h:51:0,
> from ./arch/microblaze/include/asm/io.h:17,
> from include/linux/io.h:22,
> from include/linux/pci.h:31,
> from drivers/tty/nozomi.c:46:
> ./arch/microblaze/include/asm/pgtable.h:569:6: note: previous declaration of 'setup_memory' was here
> void setup_memory(void);
> ^
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>

Oh, sure. Thanks.

Acked-by: Jiri Slaby <jslaby@suse.cz>


--
js
suse labs


\
 
 \ /
  Last update: 2014-08-19 14:01    [W:0.058 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site