paride: fix up build warning on mips platforms
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Nov 2021 08:46:26 +0000 (09:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Dec 2021 09:23:05 +0000 (10:23 +0100)
commit6d1e4927dedf5bf8998759961e3b28b967321cdd
treec451c210c670904a5d20c49165316fdb33d7d1bf
parent612d4904191ff9aca01b1e087d8687b3a223cb33
paride: fix up build warning on mips platforms

MIPS include files define "PC" so when building the paride driver the
following build warning shows up:

rivers/block/paride/bpck.c:32: warning: "PC" redefined

Fix this by undefining PC before redefining it as is done for other
defines in this driver.

Cc: Tim Waugh <tim@cyberelk.net>
Acked-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20211130084626.3215987-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/paride/bpck.c