Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'davinci-for-v4.10/drivers-2' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/drivers

Pull "DaVinci driver updates for v4.10 (part 2)" from Sekhar Nori:

Fixes for drivers already queued to prevent
section mismatch warnings introduced by them.

* tag 'davinci-for-v4.10/drivers-2' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
memory: da8xx-ddrctl: drop the call to of_flat_dt_get_machine_name()
bus: da8xx-mstpri: drop the call to of_flat_dt_get_machine_name()

+2 -6
+1 -3
drivers/bus/da8xx-mstpri.c
··· 16 16 #include <linux/platform_device.h> 17 17 #include <linux/io.h> 18 18 #include <linux/regmap.h> 19 - #include <linux/of_fdt.h> 20 19 21 20 /* 22 21 * REVISIT: Linux doesn't have a good framework for the kind of performance ··· 225 226 226 227 prio_list = da8xx_mstpri_get_board_prio(); 227 228 if (!prio_list) { 228 - dev_err(dev, "no master priotities defined for board '%s'\n", 229 - of_flat_dt_get_machine_name()); 229 + dev_err(dev, "no master priorities defined for this board\n"); 230 230 return -EINVAL; 231 231 } 232 232
+1 -3
drivers/memory/da8xx-ddrctl.c
··· 14 14 #include <linux/module.h> 15 15 #include <linux/of.h> 16 16 #include <linux/of_device.h> 17 - #include <linux/of_fdt.h> 18 17 #include <linux/platform_device.h> 19 18 #include <linux/io.h> 20 19 ··· 116 117 117 118 setting = da8xx_ddrctl_get_board_settings(); 118 119 if (!setting) { 119 - dev_err(dev, "no settings for board '%s'\n", 120 - of_flat_dt_get_machine_name()); 120 + dev_err(dev, "no settings defined for this board\n"); 121 121 return -EINVAL; 122 122 } 123 123