Brian Norris 3a9f76bdf3 mtd: maps: sc520cdp: fix warnings
On m86k, and maybe a few other architectures, we get this kind of
warning, due to misuse of volatile:

   drivers/mtd/maps/sc520cdp.c: In function 'sc520cdp_setup_par':
>> drivers/mtd/maps/sc520cdp.c:223:2: warning: passing argument 1 of 'iounmap' discards 'volatile' qualifier from pointer target type [enabled by default]
   arch/m68k/include/asm/raw_io.h:22:13: note: expected 'void *' but argument is of type 'volatile long unsigned int *'

Rather than annotating the variable declaration, let's just use the
proper accessors, which add the 'volatile' qualifier to the operation.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2014-05-28 00:05:24 -07:00
..
2013-04-05 13:04:20 +01:00
2014-05-12 11:55:53 -07:00
2008-06-04 17:50:17 +01:00
2012-03-30 17:31:56 -07:00
2013-08-30 21:34:32 +01:00
2014-05-28 00:05:24 -07:00
2012-11-22 12:07:03 +02:00