mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-06 10:21:57 +08:00
add option for platform px30
This commit is contained in:
@@ -953,8 +953,10 @@ static void DRM_DeleteDevice(GAL_VideoDevice *device)
|
||||
}
|
||||
|
||||
#ifdef __TARGET_PX30__
|
||||
static inline char* find_driver_for_device (const char *dev_name) { return strdup ("rockchip"); }
|
||||
#else
|
||||
static inline char* find_driver_for_device (const char *dev_name) {
|
||||
return strdup ("rockchip");
|
||||
}
|
||||
#else /* __TARGET_PX30__ */
|
||||
static char* find_driver_for_device (const char *dev_name)
|
||||
{
|
||||
char *driver;
|
||||
@@ -999,7 +1001,7 @@ static char* find_driver_for_device (const char *dev_name)
|
||||
|
||||
return strdup (driver + strlen ("/"));
|
||||
}
|
||||
#endif
|
||||
#endif /* not defined __TARGET_PX30__ */
|
||||
|
||||
static DrmDriverOps* load_external_driver (DrmVideoData* vdata,
|
||||
const char* driver_name, int device_fd)
|
||||
|
||||
Reference in New Issue
Block a user