linux_dsm_epyc7002/drivers/mtd/maps
Uwe Kleine-König e5babdf928 mtd: dc21285: use raw spinlock functions for nw_gpio_lock
Since commit bd31b85960 (which is in 3.2-rc1) nw_gpio_lock is a raw spinlock
that needs usage of the corresponding raw functions.

This fixes:

  drivers/mtd/maps/dc21285.c: In function 'nw_en_write':
  drivers/mtd/maps/dc21285.c:41:340: warning: passing argument 1 of 'spinlock_check' from incompatible pointer type
    spin_lock_irqsave(&nw_gpio_lock, flags);

  In file included from include/linux/seqlock.h:35:0,
                   from include/linux/time.h:5,
                   from include/linux/stat.h:18,
                   from include/linux/module.h:10,
                   from drivers/mtd/maps/dc21285.c:8:
  include/linux/spinlock.h:299:102: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'
   static inline raw_spinlock_t *spinlock_check(spinlock_t *lock)
                                                                                                        ^
  drivers/mtd/maps/dc21285.c:43:25: warning: passing argument 1 of 'spin_unlock_irqrestore' from incompatible pointer type
    spin_unlock_irqrestore(&nw_gpio_lock, flags);
                           ^
  In file included from include/linux/seqlock.h:35:0,
                   from include/linux/time.h:5,
                   from include/linux/stat.h:18,
                   from include/linux/module.h:10,
                   from drivers/mtd/maps/dc21285.c:8:
  include/linux/spinlock.h:370:91: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'
   static inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags)

Fixes: bd31b85960 ("locking, ARM: Annotate low level hw locks as raw")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2015-05-28 12:01:29 -07:00
..
amd76xrom.c mtd: maps: Spelling s/reseved/reserved/ 2015-05-21 10:37:51 -07:00
bfin-async-flash.c mtd: bfin-async-flash: Remove unused variable 2014-10-22 01:35:41 -07:00
cfi_flagadm.c
ck804xrom.c
dc21285.c mtd: dc21285: use raw spinlock functions for nw_gpio_lock 2015-05-28 12:01:29 -07:00
esb2rom.c mtd: maps: Spelling s/reseved/reserved/ 2015-05-21 10:37:51 -07:00
gpio-addr-flash.c mtd: gpio_flash: handle case where offset + len exceeds the window size 2014-08-19 11:53:10 -07:00
ichxrom.c mtd: maps: Spelling s/reseved/reserved/ 2015-05-21 10:37:51 -07:00
impa7.c
intel_vr_nor.c mtd: delete non-required instances of include <linux/init.h> 2014-03-10 22:42:22 -07:00
ixp4xx.c mtd: maps: drop owner assignment from platform_drivers 2014-10-20 16:20:57 +02:00
Kconfig mtd: Allow compile test of GPIO consumers if !GPIOLIB 2015-05-20 15:50:24 -07:00
l440gx.c
lantiq-flash.c mtd: lantiq-flash: use default partition parsers 2015-05-27 12:35:12 -07:00
latch-addr-flash.c mtd: delete non-required instances of include <linux/init.h> 2014-03-10 22:42:22 -07:00
Makefile
map_funcs.c
netsc520.c
nettel.c
pci.c mtd: delete non-required instances of include <linux/init.h> 2014-03-10 22:42:22 -07:00
pcmciamtd.c mtd: use NULL instead of 0 for an address 2014-08-19 11:53:05 -07:00
physmap_of.c mtd: constify of_device_id array 2015-05-06 23:44:07 -07:00
physmap.c mtd: maps: drop owner assignment from platform_drivers 2014-10-20 16:20:57 +02:00
pismo.c
plat-ram.c mtd: maps: drop owner assignment from platform_drivers 2014-10-20 16:20:57 +02:00
pmcmsp-flash.c
pxa2xx-flash.c mtd: maps: drop owner assignment from platform_drivers 2014-10-20 16:20:57 +02:00
rbtx4939-flash.c mtd: maps: drop owner assignment from platform_drivers 2014-10-20 16:20:57 +02:00
sa1100-flash.c mtd: maps: sa1100-flash: remove incorrect __exit markups 2015-03-30 17:50:40 -07:00
sbc_gxx.c
sc520cdp.c mtd: maps: sc520cdp: fix warnings 2014-05-28 00:05:24 -07:00
scb2_flash.c mtd: delete non-required instances of include <linux/init.h> 2014-03-10 22:42:22 -07:00
scx200_docflash.c
solutionengine.c mtd: maps: remove check for CONFIG_MTD_SUPERH_RESERVE 2014-05-28 15:12:47 -07:00
sun_uflash.c mtd: maps: drop owner assignment from platform_drivers 2014-10-20 16:20:57 +02:00
ts5500_flash.c mtd: ts5500_flash: Fix typo in MODULE_DESCRIPTION in ts5500_flash.c 2015-03-30 20:19:44 -07:00
tsunami_flash.c
uclinux.c
vmu-flash.c