Index: uspace/lib/c/generic/as.c
===================================================================
--- uspace/lib/c/generic/as.c	(revision b5cfeab48ed2fbc3d7fc9ffd0ab2deb8c6a82cae)
+++ uspace/lib/c/generic/as.c	(revision 8d70937197e11be8a09dbc9bd63a588226ddaabb)
@@ -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 b5cfeab48ed2fbc3d7fc9ffd0ab2deb8c6a82cae)
+++ uspace/lib/c/include/as.h	(revision 8d70937197e11be8a09dbc9bd63a588226ddaabb)
@@ -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
