mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
modules: mmi_info: fix machine name
Update the machine name property in the unit info sub module - remove the machine name from 32 bit implementations. Change-Id: Iaf31d8d9c3861fd652fb2226cc89a239da626968 Signed-off-by: Ryan Lattrel <ryanl@motorola.com> Reviewed-on: https://gerrit.mot.com/1210671 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Reviewed-by: Yue Sun <sunyue5@lenovo.com> Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
d4a82573e6
commit
997916843f
1 changed files with 0 additions and 8 deletions
|
|
@ -21,10 +21,6 @@
|
|||
#include <asm/system_misc.h>
|
||||
#include "mmi_info.h"
|
||||
|
||||
#ifndef CONFIG_ARM64
|
||||
#include <asm/mach/arch.h>
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0)
|
||||
#include <linux/soc/qcom/smem.h>
|
||||
/* Match to
|
||||
|
|
@ -110,11 +106,7 @@ static int mmi_unit_smem_setup(void)
|
|||
mui_copy->system_rev = mmi_chosen_data.system_rev;
|
||||
mui_copy->system_serial_low = mmi_chosen_data.system_serial_low;
|
||||
mui_copy->system_serial_high = mmi_chosen_data.system_serial_high;
|
||||
#ifndef CONFIG_ARM64
|
||||
strlcpy(mui_copy->machine, machine_desc->name, MACHINE_MAX_LEN);
|
||||
#else
|
||||
strlcpy(mui_copy->machine, "", MACHINE_MAX_LEN);
|
||||
#endif
|
||||
strlcpy(mui_copy->barcode, serialno, BARCODE_MAX_LEN);
|
||||
strlcpy(mui_copy->baseband, mmi_chosen_data.baseband, BASEBAND_MAX_LEN);
|
||||
strlcpy(mui_copy->carrier, carrier, CARRIER_MAX_LEN);
|
||||
|
|
|
|||
Loading…
Reference in a new issue