Skip to content

Commit 1669515

Browse files
committed
Merge tag 'omap-for-v7.1/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap into soc/arm
ARM: soc/omap updates for v7.1 * tag 'omap-for-v7.1/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap: ARM: omap2: dead code cleanup in kconfig for ARCH_OMAP4 ARM: OMAP1: Fix DEBUG_LL and earlyprintk on OMAP16XX ARM: omap: fix all kernel-doc warnings ARM: omap2: Replace scnprintf with strscpy in omap3_cpuinfo Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 9ac4203 + 9ceb17c commit 1669515

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

arch/arm/mach-omap1/clock_data.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,8 +700,8 @@ int __init omap1_clk_init(void)
700700
/* Make sure UART clocks are enabled early */
701701
if (cpu_is_omap16xx())
702702
omap_writel(omap_readl(MOD_CONF_CTRL_0) |
703-
CONF_MOD_UART1_CLK_MODE_R |
704-
CONF_MOD_UART3_CLK_MODE_R, MOD_CONF_CTRL_0);
703+
(1 << CONF_MOD_UART1_CLK_MODE_R) |
704+
(1 << CONF_MOD_UART3_CLK_MODE_R), MOD_CONF_CTRL_0);
705705
#endif
706706

707707
/* USB_REQ_EN will be disabled later if necessary (usb_dc_ck) */

arch/arm/mach-omap2/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ config ARCH_OMAP4
4242
select PM if CPU_IDLE
4343
select ARM_ERRATA_754322
4444
select ARM_ERRATA_775420
45-
select OMAP_INTERCONNECT
4645

4746
config SOC_OMAP5
4847
bool "TI OMAP5"

arch/arm/mach-omap2/id.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <linux/io.h>
1818
#include <linux/random.h>
1919
#include <linux/slab.h>
20+
#include <linux/string.h>
2021

2122
#ifdef CONFIG_SOC_BUS
2223
#include <linux/sys_soc.h>
@@ -250,7 +251,7 @@ static void __init omap3_cpuinfo(void)
250251
cpu_name = "OMAP3503";
251252
}
252253

253-
scnprintf(soc_name, sizeof(soc_name), "%s", cpu_name);
254+
strscpy(soc_name, cpu_name);
254255

255256
/* Print verbose information */
256257
n += scnprintf(buf, sizeof(buf) - n, "%s %s (", soc_name, soc_rev);

include/linux/platform_data/voltage-omap.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010

1111
/**
1212
* struct omap_volt_data - Omap voltage specific data.
13-
* @voltage_nominal: The possible voltage value in uV
13+
* @volt_nominal: The possible voltage value in uV
1414
* @sr_efuse_offs: The offset of the efuse register(from system
1515
* control module base address) from where to read
1616
* the n-target value for the smartreflex module.
1717
* @sr_errminlimit: Error min limit value for smartreflex. This value
1818
* differs at differnet opp and thus is linked
1919
* with voltage.
20-
* @vp_errorgain: Error gain value for the voltage processor. This
20+
* @vp_errgain: Error gain value for the voltage processor. This
2121
* field also differs according to the voltage/opp.
2222
*/
2323
struct omap_volt_data {

0 commit comments

Comments
 (0)