]> www.infradead.org Git - users/hch/block.git/commitdiff
MIPS: don't include <linux/genhd.h> in <asm/mach-rc32434/rb.h>
authorChristoph Hellwig <hch@lst.de>
Sun, 23 May 2021 05:11:22 +0000 (07:11 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 2 Jun 2021 07:14:04 +0000 (10:14 +0300)
There is no need to include genhd.h from a random arch header, and not
doing so prevents the possibility for nasty include loops.

Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/mips/include/asm/mach-rc32434/rb.h

index d502673a4f6c8715df7467cdacf82ea6d958ccb2..34d179ca020ba2a5bee5a43790eeb5fccb487548 100644 (file)
@@ -7,8 +7,6 @@
 #ifndef __ASM_RC32434_RB_H
 #define __ASM_RC32434_RB_H
 
-#include <linux/genhd.h>
-
 #define REGBASE                0x18000000
 #define IDT434_REG_BASE ((volatile void *) KSEG1ADDR(REGBASE))
 #define UART0BASE      0x58000