mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
Revert "canvas: get canvas w/h for frame check [2/2]"
This reverts commit 8667f1fbc1.
This commit is contained in:
@@ -334,27 +334,6 @@ unsigned int canvas_get_addr(u32 index)
|
||||
}
|
||||
EXPORT_SYMBOL(canvas_get_addr);
|
||||
|
||||
unsigned int canvas_get_width(u32 index)
|
||||
{
|
||||
struct canvas_device_info *info = &canvas_info;
|
||||
|
||||
if (!CANVAS_VALID(index))
|
||||
return 0;
|
||||
|
||||
return info->canvasPool[index].width;
|
||||
}
|
||||
EXPORT_SYMBOL(canvas_get_width);
|
||||
|
||||
unsigned int canvas_get_height(u32 index)
|
||||
{
|
||||
struct canvas_device_info *info = &canvas_info;
|
||||
|
||||
if (!CANVAS_VALID(index))
|
||||
return 0;
|
||||
|
||||
return info->canvasPool[index].height;
|
||||
}
|
||||
EXPORT_SYMBOL(canvas_get_height);
|
||||
/*********************************************************/
|
||||
#define to_canvas(kobj) container_of(kobj, struct canvas_s, kobj)
|
||||
static ssize_t addr_show(struct canvas_s *canvas, char *buf)
|
||||
|
||||
@@ -86,8 +86,4 @@ extern void canvas_update_addr(u32 index, u32 addr);
|
||||
|
||||
extern unsigned int canvas_get_addr(u32 index);
|
||||
|
||||
extern unsigned int canvas_get_width(u32 index);
|
||||
|
||||
extern unsigned int canvas_get_height(u32 index);
|
||||
|
||||
#endif /* CANVAS_H */
|
||||
|
||||
Reference in New Issue
Block a user