summaryrefslogtreecommitdiff
path: root/udev-remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev-remove.c')
-rw-r--r--udev-remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev-remove.c b/udev-remove.c
index 4f2cd479c0..7ad7c2402a 100644
--- a/udev-remove.c
+++ b/udev-remove.c
@@ -159,7 +159,7 @@ static int delete_node(struct udevice *dev)
* something different from the kernel name. If we have, us it. If not, use
* the default kernel name for lack of anything else to know to do.
*/
-int udev_remove_device(char *path, char *subsystem)
+int udev_remove_device(const char *path, const char *subsystem)
{
struct udevice dev;
char *temp;