1 #include <stdlib.h>
2 #include <sys/types.h>
3 #include <sys/stat.h>
4 #include <fcntl.h>
5 
6 /*
7  * used with certain session managers
8  */
platform_device_init()9 void platform_device_init()
10 {
11 }
12 
platform_device_poll(char ** identifier)13 int platform_device_poll(char** identifier)
14 {
15 	return 0;
16 }
17 
platform_device_release(const char * const identifier,int ind)18 void platform_device_release(const char* const identifier, int ind)
19 {
20 }
21 
platform_device_pollfd()22 int platform_device_pollfd()
23 {
24 	return -1;
25 }
26 
platform_device_open(const char * const identifier,int flags,mode_t mode)27 int platform_device_open(const char* const identifier, int flags, mode_t mode)
28 {
29 	return open(identifier, flags, mode);
30 }
31