Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / include / sound / omap-pcm.h
blobc1d2f31d71e914ffa5edd26fcdba88f4d5886042
1 /*
2 * omap-pcm.h - OMAP PCM driver
4 * Copyright (C) 2014 Texas Instruments, Inc.
6 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * version 2 as published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
18 #ifndef __OMAP_PCM_H__
19 #define __OMAP_PCM_H__
21 #if IS_ENABLED(CONFIG_SND_OMAP_SOC)
22 int omap_pcm_platform_register(struct device *dev);
23 #else
24 static inline int omap_pcm_platform_register(struct device *dev)
26 return 0;
28 #endif /* CONFIG_SND_OMAP_SOC */
30 #endif /* __OMAP_PCM_H__ */