linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* powerpc/mpc5200: remove unused #include <version.h>
@ 2008-08-23  5:56 Huang Weiyi
  2008-08-23  6:25 ` Grant Likely
  0 siblings, 1 reply; 2+ messages in thread
From: Huang Weiyi @ 2008-08-23  5:56 UTC (permalink / raw)
  To: tnt, grant.likely; +Cc: linuxppc-dev

The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
  arch/powerpc/sysdev/bestcomm/gen_bd.c

This patch removes the said #include <version.h>.

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>

diff --git a/arch/powerpc/sysdev/bestcomm/gen_bd.c b/arch/powerpc/sysdev/bestcomm/gen_bd.c
index a3a134c..e0a53e3 100644
--- a/arch/powerpc/sysdev/bestcomm/gen_bd.c
+++ b/arch/powerpc/sysdev/bestcomm/gen_bd.c
@@ -11,7 +11,6 @@
  *
  */

-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/string.h>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: powerpc/mpc5200: remove unused #include <version.h>
  2008-08-23  5:56 powerpc/mpc5200: remove unused #include <version.h> Huang Weiyi
@ 2008-08-23  6:25 ` Grant Likely
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2008-08-23  6:25 UTC (permalink / raw)
  To: Huang Weiyi; +Cc: linuxppc-dev

On Fri, Aug 22, 2008 at 11:56 PM, Huang Weiyi <weiyi.huang@gmail.com> wrote:
> The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
>  arch/powerpc/sysdev/bestcomm/gen_bd.c
>
> This patch removes the said #include <version.h>.
>
> Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>

Thanks, I'll queue this for .28

g.

>
> diff --git a/arch/powerpc/sysdev/bestcomm/gen_bd.c b/arch/powerpc/sysdev/bestcomm/gen_bd.c
> index a3a134c..e0a53e3 100644
> --- a/arch/powerpc/sysdev/bestcomm/gen_bd.c
> +++ b/arch/powerpc/sysdev/bestcomm/gen_bd.c
> @@ -11,7 +11,6 @@
>  *
>  */
>
> -#include <linux/version.h>
>  #include <linux/module.h>
>  #include <linux/kernel.h>
>  #include <linux/string.h>
>
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-23  6:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-23  5:56 powerpc/mpc5200: remove unused #include <version.h> Huang Weiyi
2008-08-23  6:25 ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).