1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-23 10:52:13 +00:00

memory_map: Remove unnecessary const

Since the return value isn't a pointer thing doesn't have much use.
This commit is contained in:
Lioncash 2018-02-25 23:56:44 -05:00
parent 4d3f1f6ae8
commit b328effd9b
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -158,7 +158,7 @@ INLINE_UNROLL static inline uintptr_t mmio_get_device_pa(unsigned int device_id)
}
#ifndef MEMORY_MAP_USE_IDENTIY_MAPPING
INLINE_UNROLL static inline const uintptr_t mmio_get_device_address(unsigned int device_id) {
INLINE_UNROLL static inline uintptr_t mmio_get_device_address(unsigned int device_id) {
size_t offset = 0;
for(unsigned int i = 0; i < device_id; i++) {
offset += g_devices[i].size;