diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-28 18:35:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-29 09:28:46 +0100 |
commit | fb12940f51d96ead10f9c0fd578e69b8de10ca81 (patch) | |
tree | 4a18943b1a39c7a5f4efb40bc3f8f82cd9a9dc5c /drivers/scsi/cxlflash/main.c | |
parent | ff62b8e6588fb07bedda7423622c140c4edd66a7 (diff) | |
download | lwn-fb12940f51d96ead10f9c0fd578e69b8de10ca81.tar.gz lwn-fb12940f51d96ead10f9c0fd578e69b8de10ca81.zip |
driver core: fix up some missing class.devnode() conversions.
In commit ff62b8e6588f ("driver core: make struct class.devnode() take a
const *") the ->devnode callback changed the pointer to be const, but a
few instances of PowerPC drivers were not caught for some reason.
Fix this up by changing the pointers to be const.
Fixes: ff62b8e6588f ("driver core: make struct class.devnode() take a const *")
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Frederic Barrat <fbarrat@linux.ibm.com>
Cc: Andrew Donnellan <ajd@linux.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linuxppc-dev@lists.ozlabs.org
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20221128173539.3112234-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/cxlflash/main.c')
0 files changed, 0 insertions, 0 deletions