summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/book3s/vas-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/book3s/vas-api.c')
-rw-r--r--arch/powerpc/platforms/book3s/vas-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/book3s/vas-api.c b/arch/powerpc/platforms/book3s/vas-api.c
index 40f5ae5e1238..eb5bed333750 100644
--- a/arch/powerpc/platforms/book3s/vas-api.c
+++ b/arch/powerpc/platforms/book3s/vas-api.c
@@ -53,7 +53,7 @@ struct coproc_instance {
struct vas_window *txwin;
};
-static char *coproc_devnode(struct device *dev, umode_t *mode)
+static char *coproc_devnode(const struct device *dev, umode_t *mode)
{
return kasprintf(GFP_KERNEL, "crypto/%s", dev_name(dev));
}