summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/bpa10x.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2021-09-09 07:00:33 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-16 20:27:32 +0200
commit35a3f4ef0ab543daa1725b0c963eb8c05e3376f8 (patch)
treeb2b1e36021e5c03fe782134e2a81397799731cd1 /drivers/bluetooth/bpa10x.c
parent3com 3c515: make it compile on 64-bit architectures (diff)
downloadlinux-35a3f4ef0ab543daa1725b0c963eb8c05e3376f8.tar.xz
linux-35a3f4ef0ab543daa1725b0c963eb8c05e3376f8.zip
alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
Some drivers pass a pointer to volatile data to virt_to_bus() and virt_to_phys(), and that works fine. One exception is alpha. This results in a number of compile errors such as drivers/net/wan/lmc/lmc_main.c: In function 'lmc_softreset': drivers/net/wan/lmc/lmc_main.c:1782:50: error: passing argument 1 of 'virt_to_bus' discards 'volatile' qualifier from pointer target type drivers/atm/ambassador.c: In function 'do_loader_command': drivers/atm/ambassador.c:1747:58: error: passing argument 1 of 'virt_to_bus' discards 'volatile' qualifier from pointer target type Declare the parameter of virt_to_phys and virt_to_bus as pointer to volatile to fix the problem. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/bluetooth/bpa10x.c')
0 files changed, 0 insertions, 0 deletions