bsr: fix build problem with bsr_class static cleanup
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Jun 2023 09:03:21 +0000 (11:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Jun 2023 09:05:16 +0000 (11:05 +0200)
commitadfdaf81f9d48d8618a4d8296567248170fe7bcc
treea64190ac333ce517d662db4993b9440d91f8ed15
parent3b7a628decfb3b385ca5169d7c415752bf40e536
bsr: fix build problem with bsr_class static cleanup

In commit e55ce9fd3d8f ("bsr: make bsr_class a static const structure"),
the bsr_init function was converted to handle a static class structure,
but the conversion got a variable name wrong, which caused build errors
so fix that up.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Ivan Orlov <ivan.orlov0322@gmail.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20230626142537.755ec782@canb.auug.org.au
Fixes: e55ce9fd3d8f ("bsr: make bsr_class a static const structure")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/bsr.c