OMAP3: PM: Ensure MUSB block can idle when driver not loaded
[linux-ginger.git] / arch / powerpc / include / asm / of_platform.h
blobd4aaa3489440d3b6579ae2b3b7636c2a2f35098e
1 #ifndef _ASM_POWERPC_OF_PLATFORM_H
2 #define _ASM_POWERPC_OF_PLATFORM_H
3 /*
4 * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp.
5 * <benh@kernel.crashing.org>
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version
10 * 2 of the License, or (at your option) any later version.
14 /* Platform devices and busses creation */
15 extern struct of_device *of_platform_device_create(struct device_node *np,
16 const char *bus_id,
17 struct device *parent);
18 /* pseudo "matches" value to not do deep probe */
19 #define OF_NO_DEEP_PROBE ((struct of_device_id *)-1)
21 extern int of_platform_bus_probe(struct device_node *root,
22 const struct of_device_id *matches,
23 struct device *parent);
25 extern struct of_device *of_find_device_by_phandle(phandle ph);
27 extern void of_instantiate_rtc(void);
29 #endif /* _ASM_POWERPC_OF_PLATFORM_H */