machine_815x_init.c 499 B

12345678910111213141516171819202122232425
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (c) 2017-2019, 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. return 0;
  12. }
  13. static void audio_machine_815x_exit(void)
  14. {
  15. sm8150_exit();
  16. }
  17. module_init(audio_machine_815x_init);
  18. module_exit(audio_machine_815x_exit);
  19. MODULE_DESCRIPTION("Audio Machine 815X Driver");
  20. MODULE_LICENSE("GPL v2");