Re: OF files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I move prom_parse.c to drivers/of.
of_platform.c was completely moved to drivers/of/platform.c
Functions from of_device.c was moved to drivers/of/device.c except
of_device_make_bus_id.
Prom.c file was cleaned - I remove all PPC specific code.

You can check it in my git tree (git.monstr.eu) or wait for next set of patches.

Michal

> 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.
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux