XenevaOS
Loading...
Searching...
No Matches
XenevaOS
BaseHdr
linux
platform_device.h
Go to the documentation of this file.
1
#ifndef __DCL_STUB_BaseHdr_linux_platform_device_h__
2
#define __DCL_STUB_BaseHdr_linux_platform_device_h__
3
/*
4
* linux/platform_device.h -- created by mkh.sh while porting 8250_port.c.
5
*
6
* Still not a platform bus: nothing in this tree registers a platform
7
* driver. The two declarations below are here because drm_module.h --
8
* which bochs.c reaches through <drm/drm_module.h> -- defines static
9
* inline registration helpers that name both functions. The PCI arm of
10
* that header is the one this target uses; the platform arm is parsed
11
* and never referenced, so declarations are all it needs. Without them
12
* the parse of every bochs.c compile would trip -Wimplicit-function-
13
* declaration for a function nobody calls.
14
*/
15
struct
platform_driver;
16
17
int
platform_driver_register
(
struct
platform_driver *drv);
18
void
platform_driver_unregister
(
struct
platform_driver *drv);
19
20
#endif
/* __DCL_STUB_BaseHdr_linux_platform_device_h__ */
platform_driver_unregister
void platform_driver_unregister(struct platform_driver *drv)
platform_driver_register
int platform_driver_register(struct platform_driver *drv)
Generated by
1.9.8