Index: uspace/lib/c/generic/as.c
===================================================================
--- uspace/lib/c/generic/as.c	(revision 47fecbb0a9198c8184b7b6a37a96d9e4fe7bf351)
+++ uspace/lib/c/generic/as.c	(revision b991d374b3921e5c6fb9f49cd64ece286cc7a935)
@@ -123,5 +123,5 @@
  * @retval ENOENT Mapping not found.
  */
-int as_get_physical_mapping(void *address, uintptr_t *frame)
+int as_get_physical_mapping(const void *address, uintptr_t *frame)
 {
 	uintptr_t tmp_frame;
Index: uspace/lib/c/include/as.h
===================================================================
--- uspace/lib/c/include/as.h	(revision 47fecbb0a9198c8184b7b6a37a96d9e4fe7bf351)
+++ uspace/lib/c/include/as.h	(revision b991d374b3921e5c6fb9f49cd64ece286cc7a935)
@@ -60,5 +60,5 @@
 extern void *set_maxheapsize(size_t);
 extern void *as_get_mappable_page(size_t);
-extern int as_get_physical_mapping(void *, uintptr_t *);
+extern int as_get_physical_mapping(const void *, uintptr_t *);
 
 #endif
