mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 02:46:06 +00:00
driver core: fix up missed scsi/cxlflash class.devnode() conversion.
Fixes: ff62b8e6588f ("driver core: make struct class.devnode() take a const *") Link: https://lore.kernel.org/r/20221130123851.6a9f2242@canb.auug.org.au Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fb12940f51
commit
69b14fde0b
@ -3857,7 +3857,7 @@ static void cxlflash_pci_resume(struct pci_dev *pdev)
|
||||
*
|
||||
* Return: Allocated string describing the devtmpfs structure.
|
||||
*/
|
||||
static char *cxlflash_devnode(struct device *dev, umode_t *mode)
|
||||
static char *cxlflash_devnode(const struct device *dev, umode_t *mode)
|
||||
{
|
||||
return kasprintf(GFP_KERNEL, "cxlflash/%s", dev_name(dev));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user