machine_815x_init.c 526 B

123456789101112131415161718192021222324252627
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
  4. */
  5. #include <linux/kernel.h>
  6. #include <linux/module.h>
  7. #include "machine_815x_init.h"
  8. static int __init audio_machine_815x_init(void)
  9. {
  10. sm8150_init();
  11. sa8155_init();
  12. return 0;
  13. }
  14. static void audio_machine_815x_exit(void)
  15. {
  16. sm8150_exit();
  17. sa8155_exit();
  18. }
  19. module_init(audio_machine_815x_init);
  20. module_exit(audio_machine_815x_exit);
  21. MODULE_DESCRIPTION("Audio Machine 815X Driver");
  22. MODULE_LICENSE("GPL v2");