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()9void platform_device_init() 10 { 11 } 12 platform_device_poll(char ** identifier)13int platform_device_poll(char** identifier) 14 { 15 return 0; 16 } 17 platform_device_release(const char * const identifier,int ind)18void platform_device_release(const char* const identifier, int ind) 19 { 20 } 21 platform_device_pollfd()22int platform_device_pollfd() 23 { 24 return -1; 25 } 26 platform_device_open(const char * const identifier,int flags,mode_t mode)27int platform_device_open(const char* const identifier, int flags, mode_t mode) 28 { 29 return open(identifier, flags, mode); 30 } 31