mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] aiodev: imx_thermal: remove empty include
@ 2016-06-20  9:28 Lucas Stach
  2016-06-20  9:28 ` [PATCH 2/2] aiodev: imx_thermal: depend on MACH_IMX6 Lucas Stach
  2016-06-23  6:15 ` [PATCH 1/2] aiodev: imx_thermal: remove empty include Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Lucas Stach @ 2016-06-20  9:28 UTC (permalink / raw)
  To: barebox

This file doesn't hold any content any more, so there is no
need to include it.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/aiodev/imx_thermal.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/aiodev/imx_thermal.c b/drivers/aiodev/imx_thermal.c
index 08532a743fcb..1928ed867ca5 100644
--- a/drivers/aiodev/imx_thermal.c
+++ b/drivers/aiodev/imx_thermal.c
@@ -33,7 +33,6 @@
 #include <linux/math64.h>
 #include <linux/log2.h>
 #include <linux/clk.h>
-#include <mach/clock.h>
 #include <mach/imx6-anadig.h>
 #include <io.h>
 #include <aiodev.h>
-- 
2.8.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* [PATCH 2/2] aiodev: imx_thermal: depend on MACH_IMX6
  2016-06-20  9:28 [PATCH 1/2] aiodev: imx_thermal: remove empty include Lucas Stach
@ 2016-06-20  9:28 ` Lucas Stach
  2016-06-23  6:15 ` [PATCH 1/2] aiodev: imx_thermal: remove empty include Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Lucas Stach @ 2016-06-20  9:28 UTC (permalink / raw)
  To: barebox

This driver uses private includes from the imx6 architecture.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/aiodev/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/aiodev/Kconfig b/drivers/aiodev/Kconfig
index 0ecf6f409232..1c5fabe01ad9 100644
--- a/drivers/aiodev/Kconfig
+++ b/drivers/aiodev/Kconfig
@@ -8,6 +8,7 @@ if AIODEV
 
 config IMX_THERMAL
        tristate "Temperature sensor driver for Freescale i.MX SoCs"
+       depends on ARCH_IMX6
        select MFD_SYSCON
        help
          Support for Temperature Monitor (TEMPMON) found on Freescale
-- 
2.8.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH 1/2] aiodev: imx_thermal: remove empty include
  2016-06-20  9:28 [PATCH 1/2] aiodev: imx_thermal: remove empty include Lucas Stach
  2016-06-20  9:28 ` [PATCH 2/2] aiodev: imx_thermal: depend on MACH_IMX6 Lucas Stach
@ 2016-06-23  6:15 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2016-06-23  6:15 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Mon, Jun 20, 2016 at 11:28:13AM +0200, Lucas Stach wrote:
> This file doesn't hold any content any more, so there is no
> need to include it.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  drivers/aiodev/imx_thermal.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/aiodev/imx_thermal.c b/drivers/aiodev/imx_thermal.c
> index 08532a743fcb..1928ed867ca5 100644
> --- a/drivers/aiodev/imx_thermal.c
> +++ b/drivers/aiodev/imx_thermal.c
> @@ -33,7 +33,6 @@
>  #include <linux/math64.h>
>  #include <linux/log2.h>
>  #include <linux/clk.h>
> -#include <mach/clock.h>
>  #include <mach/imx6-anadig.h>
>  #include <io.h>
>  #include <aiodev.h>
> -- 
> 2.8.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2016-06-23  6:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-20  9:28 [PATCH 1/2] aiodev: imx_thermal: remove empty include Lucas Stach
2016-06-20  9:28 ` [PATCH 2/2] aiodev: imx_thermal: depend on MACH_IMX6 Lucas Stach
2016-06-23  6:15 ` [PATCH 1/2] aiodev: imx_thermal: remove empty include Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox