Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d50dcb1d authored by Artem Bityutskiy's avatar Artem Bityutskiy Committed by David Woodhouse
Browse files

mtd: plat-ram: add const quilifiers



Be a bit stricter and add few more 'const' qualifiers.

Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 26a47346
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -199,7 +199,7 @@ static int platram_probe(struct platform_device *pdev)
	 * supplied by the platform_data struct */

	if (pdata->map_probes) {
		const char **map_probes = pdata->map_probes;
		const char * const *map_probes = pdata->map_probes;

		for ( ; !info->mtd && *map_probes; map_probes++)
			info->mtd = do_map_probe(*map_probes , &info->map);
+2 −2
Original line number Diff line number Diff line
@@ -20,8 +20,8 @@

struct platdata_mtd_ram {
	const char		*mapname;
	const char		**map_probes;
	const char		**probes;
	const char * const      *map_probes;
	const char * const      *probes;
	struct mtd_partition	*partitions;
	int			 nr_partitions;
	int			 bankwidth;