Index: uspace/lib/c/generic/as.c
===================================================================
--- uspace/lib/c/generic/as.c	(revision 47fecbb0a9198c8184b7b6a37a96d9e4fe7bf351)
+++ uspace/lib/c/generic/as.c	(revision 4e9ecf48bac340923e405603d7f09121bd6b7278)
@@ -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 4e9ecf48bac340923e405603d7f09121bd6b7278)
@@ -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
