dev-asocdma.c 693 B

1234567891011121314151617181920212223242526
  1. /* linux/arch/arm/plat-samsung/dev-asocdma.c
  2. *
  3. * Copyright (c) 2010 Samsung Electronics Co. Ltd
  4. * Jaswinder Singh <jassi.brar@samsung.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #include <linux/platform_device.h>
  11. #include <linux/dma-mapping.h>
  12. #include <plat/devs.h>
  13. static u64 audio_dmamask = DMA_BIT_MASK(32);
  14. struct platform_device samsung_asoc_dma = {
  15. .name = "samsung-audio",
  16. .id = -1,
  17. .dev = {
  18. .dma_mask = &audio_dmamask,
  19. .coherent_dma_mask = DMA_BIT_MASK(32),
  20. }
  21. };
  22. EXPORT_SYMBOL(samsung_asoc_dma);