From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Norris Subject: Re: m68k: io{read,write} accessors Date: Thu, 29 Aug 2013 02:09:56 -0700 Message-ID: <521F0FE4.90709@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: Geert Uytterhoeven Cc: linux-m68k , "linux-mtd@lists.infradead.org" , Alexander Shiyan On 08/29/2013 01:15 AM, Geert Uytterhoeven wrote: > On Wed, Aug 28, 2013 at 8:36 PM, Brian Norris > wrote: >> It appears that m68k doesn't properly define the io{read,write} >> functions. I get complaints like this from my compile testing: >> >> drivers/mtd/nand/nand_base.c: In function 'nand_write_buf': >> drivers/mtd/nand/nand_base.c:216:2: error: implicit declaration of >> function 'iowrite8_rep' [-Werror=implicit-function-declaration] >> drivers/mtd/nand/nand_base.c: In function 'nand_read_buf': >> drivers/mtd/nand/nand_base.c:231:2: error: implicit declaration of >> function 'ioread8_rep' [-Werror=implicit-function-declaration] >> drivers/mtd/nand/nand_base.c: In function 'nand_write_buf16': >> drivers/mtd/nand/nand_base.c:247:2: error: implicit declaration of >> function 'iowrite16_rep' [-Werror=implicit-function-declaration] >> drivers/mtd/nand/nand_base.c: In function 'nand_read_buf16': >> drivers/mtd/nand/nand_base.c:263:2: error: implicit declaration of >> function 'ioread16_rep' [-Werror=implicit-function-declaration] > > This is a nommu config? > If CONFIG_MMU=y, GENERIC_IOMAP=y and iowrite8_rep() is available. Right, CONFIG_MMU=n. Brian