Loading asoc/Kbuild +1 −1 Original line number Diff line number Diff line Loading @@ -86,7 +86,7 @@ endif # for SM6150 sound card driver ifdef CONFIG_SND_SOC_SM6150 MACHINE_OBJS += sm6150.o MACHINE_OBJS += sa8155.o MACHINE_OBJS += sa6155.o MACHINE_OBJS += machine_615x_init.o endif Loading asoc/machine_615x_init.c +3 −3 Original line number Diff line number Diff line /* * Copyright (c) 2018, The Linux Foundation. All rights reserved. * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading @@ -19,14 +19,14 @@ static int __init audio_machine_615x_init(void) { sm6150_init(); sa8155_init(); sa6155_init(); return 0; } static void audio_machine_615x_exit(void) { sm6150_exit(); sa8155_exit(); sa6155_exit(); } module_init(audio_machine_615x_init); Loading asoc/machine_615x_init.h +3 −3 Original line number Diff line number Diff line /* * Copyright (c) 2018, The Linux Foundation. All rights reserved. * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading @@ -15,9 +15,9 @@ #ifndef __MACHINE_615X_INIT_H__ #define __MACHINE_615X_INIT_H__ int sm6150_init(void); int sa8155_init(void); int sa6155_init(void); void sm6150_exit(void); void sa8155_exit(void); void sa6155_exit(void); #endif asoc/sa6155.c 0 → 100644 +7132 −0 File added.File size exceeds preview limit. View file Loading
asoc/Kbuild +1 −1 Original line number Diff line number Diff line Loading @@ -86,7 +86,7 @@ endif # for SM6150 sound card driver ifdef CONFIG_SND_SOC_SM6150 MACHINE_OBJS += sm6150.o MACHINE_OBJS += sa8155.o MACHINE_OBJS += sa6155.o MACHINE_OBJS += machine_615x_init.o endif Loading
asoc/machine_615x_init.c +3 −3 Original line number Diff line number Diff line /* * Copyright (c) 2018, The Linux Foundation. All rights reserved. * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading @@ -19,14 +19,14 @@ static int __init audio_machine_615x_init(void) { sm6150_init(); sa8155_init(); sa6155_init(); return 0; } static void audio_machine_615x_exit(void) { sm6150_exit(); sa8155_exit(); sa6155_exit(); } module_init(audio_machine_615x_init); Loading
asoc/machine_615x_init.h +3 −3 Original line number Diff line number Diff line /* * Copyright (c) 2018, The Linux Foundation. All rights reserved. * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading @@ -15,9 +15,9 @@ #ifndef __MACHINE_615X_INIT_H__ #define __MACHINE_615X_INIT_H__ int sm6150_init(void); int sa8155_init(void); int sa6155_init(void); void sm6150_exit(void); void sa8155_exit(void); void sa6155_exit(void); #endif