2012-08-29 16:01:23

by Robert P. J. Day

[permalink] [raw]
Subject: [PATCH] KBUILD: Drop exporting an empty irqnr.h.


Since the content of irqnr.h is entirely wrapped in a __KERNEL__ test,
drop exporting it, and remove the single include of that header from
random.h.

Signed-off-by: Robert P. J. Day <[email protected]>

---

diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index fa21760..b9de555 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -209,7 +209,6 @@ header-y += ipv6.h
header-y += ipv6_route.h
header-y += ipx.h
header-y += irda.h
-header-y += irqnr.h
header-y += isdn.h
header-y += isdn_divertif.h
header-y += isdn_ppp.h
diff --git a/include/linux/random.h b/include/linux/random.h
index ac621ce..be982d6 100644
--- a/include/linux/random.h
+++ b/include/linux/random.h
@@ -9,7 +9,6 @@

#include <linux/types.h>
#include <linux/ioctl.h>
-#include <linux/irqnr.h>

/* ioctl()'s for the random number generator */


--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================