linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] power/reset: zx: Remove unnecessary include file
@ 2015-07-27  6:59 Jun Nie
  2015-07-27 13:34 ` Sebastian Reichel
  0 siblings, 1 reply; 2+ messages in thread
From: Jun Nie @ 2015-07-27  6:59 UTC (permalink / raw)
  To: sre, sfr; +Cc: linux-pm, Jun Nie

Including ARM related header file cause build failure
in i386 build because COMILE_TEST also involve building
zx driver. Remove the unnecessary include file.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
---
 drivers/power/reset/zx-reboot.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/power/reset/zx-reboot.c b/drivers/power/reset/zx-reboot.c
index e930a44..20703ff 100644
--- a/drivers/power/reset/zx-reboot.c
+++ b/drivers/power/reset/zx-reboot.c
@@ -18,8 +18,6 @@
 #include <linux/platform_device.h>
 #include <linux/reboot.h>
 
-#include <asm/proc-fns.h>
-
 static void __iomem *base;
 static void __iomem *pcu_base;
 
-- 
1.9.1


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

* Re: [PATCH] power/reset: zx: Remove unnecessary include file
  2015-07-27  6:59 [PATCH] power/reset: zx: Remove unnecessary include file Jun Nie
@ 2015-07-27 13:34 ` Sebastian Reichel
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2015-07-27 13:34 UTC (permalink / raw)
  To: Jun Nie; +Cc: sfr, linux-pm

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

Hi Jun,

On Mon, Jul 27, 2015 at 02:59:06PM +0800, Jun Nie wrote:
> Including ARM related header file cause build failure
> in i386 build because COMILE_TEST also involve building
> zx driver. Remove the unnecessary include file.

Thanks for taking care of this, queued.

-- Sebastian

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2015-07-27 13:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27  6:59 [PATCH] power/reset: zx: Remove unnecessary include file Jun Nie
2015-07-27 13:34 ` Sebastian Reichel

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).