lkml.org 
[lkml]   [2008]   [May]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 9 May 2008 16:11:29 +1000
FromPaul Mackerras <>
SubjectRe: OF files
Michal Simek writes:

> I tested OF files changes. I sent you some patches about.
> 
> I look at headers files too. Is it possible to move prom.h,
> of_device.h and of_platform.h to asm-generic or linux folder? 

We can move stuff to drivers/of and include/linux, but we should only
move the parts that are truly architecture-independent.  We should not
have anything like #ifdef CONFIG_PPC_PSERIES in the files in those
directories.  If it needs an ifdef like that, then that part of the
file should stay under arch/powerpc.

In other words, it's OK to split files and end up with more files than
we have at present.  That's better than adding ifdefs.

Paul.


\
 
 \ /
  Last update: 2008-05-09 08:15    [from the cache]
©2003-2008