linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* 3.8 no mach include directory anymore?
@ 2013-04-05  6:13 Tim Sander
  2013-04-05  9:22 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Sander @ 2013-04-05  6:13 UTC (permalink / raw)
  To: linux-arm-kernel

Hi

I have a small driver which uses the MX35_IO_ADDRESS which had been defined in
#include <mach/mx35.h>
but while the mx35.h file still exist the include directory has vanished?

Any idea how to get the module compiling again with 3.8?

Thanks
Tim

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

* 3.8 no mach include directory anymore?
  2013-04-05  6:13 3.8 no mach include directory anymore? Tim Sander
@ 2013-04-05  9:22 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2013-04-05  9:22 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Tim,

On Fri, Apr 05, 2013 at 08:13:02AM +0200, Tim Sander wrote:
> Hi
> 
> I have a small driver which uses the MX35_IO_ADDRESS which had been defined in
> #include <mach/mx35.h>

A driver should never use MX35_IO_ADDRESS.

> but while the mx35.h file still exist the include directory has vanished?
> 
> Any idea how to get the module compiling again with 3.8?

Use ioremap, add whatever hack is necessary, or very much preferred:
Convert you board over to devicetree and retrieve the base address
properly from there.

Sascha


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

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

end of thread, other threads:[~2013-04-05  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-05  6:13 3.8 no mach include directory anymore? Tim Sander
2013-04-05  9:22 ` Sascha Hauer

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