Files
android_kernel_xiaomi_sm8450/arch/arm/include/asm
Vladimir Murzin 7ef4783e19 ARM: 8676/1: NOMMU: provide pgprot_device() macro
NOMMU build leads to the following error:

  CC      drivers/pci/mmap.o
drivers/pci/mmap.c: In function 'pci_mmap_resource_range':
drivers/pci/mmap.c:60:3: error: implicit declaration of function 'pgprot_device' [-Werror=implicit-function-declaration]
   vma->vm_page_prot = pgprot_device(vma->vm_page_prot);
   ^

cc1: some warnings being treated as errors
scripts/Makefile.build:302: recipe for target 'drivers/pci/mmap.o' failed
make[2]: *** [drivers/pci/mmap.o] Error 1
scripts/Makefile.build:561: recipe for target 'drivers/pci' failed
make[1]: *** [drivers/pci] Error 2
Makefile:1016: recipe for target 'drivers' failed
make: *** [drivers] Error 2

Fix it with support of pgprot_device() macro for NOMMU.

Fixes: 00d2904ffe ("ARM/PCI: Use generic pci_mmap_resource_range()")
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2017-06-05 10:29:40 +01:00
..
2015-05-05 13:35:39 -06:00
2015-05-28 15:31:53 +02:00
2015-09-16 16:53:39 +02:00
2017-03-28 18:23:22 -04:00
2016-08-02 19:35:29 -04:00
2014-06-01 01:17:12 +01:00
2013-07-08 22:08:51 +01:00
2014-02-25 11:33:37 +00:00
2017-03-28 18:23:22 -04:00
2016-10-19 10:18:47 +01:00
2014-03-18 16:39:40 -04:00