File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
arch/powerpc/platforms/book3s Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ struct coproc_instance {
53
53
struct vas_window * txwin ;
54
54
};
55
55
56
- static char * coproc_devnode (struct device * dev , umode_t * mode )
56
+ static char * coproc_devnode (const struct device * dev , umode_t * mode )
57
57
{
58
58
return kasprintf (GFP_KERNEL , "crypto/%s" , dev_name (dev ));
59
59
}
Original file line number Diff line number Diff line change @@ -546,7 +546,7 @@ static const struct file_operations afu_master_fops = {
546
546
};
547
547
548
548
549
- static char * cxl_devnode (struct device * dev , umode_t * mode )
549
+ static char * cxl_devnode (const struct device * dev , umode_t * mode )
550
550
{
551
551
if (cpu_has_feature (CPU_FTR_HVMODE ) &&
552
552
CXL_DEVT_IS_CARD (dev -> devt )) {
Original file line number Diff line number Diff line change @@ -581,7 +581,7 @@ void ocxl_file_unregister_afu(struct ocxl_afu *afu)
581
581
device_unregister (& info -> dev );
582
582
}
583
583
584
- static char * ocxl_devnode (struct device * dev , umode_t * mode )
584
+ static char * ocxl_devnode (const struct device * dev , umode_t * mode )
585
585
{
586
586
return kasprintf (GFP_KERNEL , "ocxl/%s" , dev_name (dev ));
587
587
}
You can’t perform that action at this time.
0 commit comments