ソースを参照

gpio-mxc: stop including <asm-generic/bug>

<asm-generic/bug> contains the default implementation of BUG() and friends,
which architectures may decide to use.  The proper way to get them is
<linux/bug.h>, so use that.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Christoph Hellwig 10 年 前
コミット
16c3bd3541
1 ファイル変更1 行追加1 行削除
  1. 1 1
      drivers/gpio/gpio-mxc.c

+ 1 - 1
drivers/gpio/gpio-mxc.c

@@ -33,7 +33,7 @@
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/module.h>
-#include <asm-generic/bug.h>
+#include <linux/bug.h>
 
 enum mxc_gpio_hwtype {
 	IMX1_GPIO,	/* runs on i.mx1 */