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
);
24 static inline int omap_pcm_platform_register(struct device
*dev
)
28 #endif /* CONFIG_SND_OMAP_SOC */
30 #endif /* __OMAP_PCM_H__ */