* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.tizenopensource.org/license
+ * http://floralicense.org/license/
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
int fb_size(struct fb_info *info)
{
+ if (!info)
+ return 0;
+
info->bufsz = info->w * info->h * s_info.depth;
return info ? info->bufsz : 0;
}