There are build warnings caused by product patch. Remove the build
warnings including incompatible-pointer-types, discarded-qualifiers,
and unused-variable.
Change-Id: I24ee1c977c7f93c09b36067bd8032a0777a3b465
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
int depth, void *data)
{
phys_addr_t base, size;
- unsigned long len;
- __be32 *prop;
- char *name;
+ int len;
+ const __be32 *prop;
+ const char *name;
if (!of_get_flat_dt_prop(node, "linux,contiguous-region", NULL))
return 0;
#ifdef CONFIG_OF
void cma_assign_device_from_dt(struct device *dev)
{
- struct device_node *node;
struct cma *cma;
const char *name;
int ret;