efi: Fix compiler warnings (unused, const, type)
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 2 Jun 2014 10:31:06 +0000 (11:31 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 19 Jun 2014 14:03:05 +0000 (15:03 +0100)
commit6fb8cc82c096fd5ccf277678639193cae07125a0
treebcd4b55fbaa4d64dcdc4742d3c9263a4b5db1662
parent7171511eaec5bf23fb06078f59784a3a0626b38f
efi: Fix compiler warnings (unused, const, type)

This patch fixes a few compiler warning in the efi code for unused
variable, discarding const qualifier and wrong pointer type:

drivers/firmware/efi/fdt.c|66 col 22| warning: unused variable ‘name’ [-Wunused-variable]
drivers/firmware/efi/efi.c|368 col 3| warning: passing argument 3 of ‘of_get_flat_dt_prop’ from incompatible pointer type [enabled by default]
drivers/firmware/efi/efi.c|368 col 8| warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/efi/efi.c
drivers/firmware/efi/fdt.c