/* * omap-pcm.h - OMAP PCM driver * * Copyright (C) 2014 Texas Instruments, Inc. * * Author: Peter Ujfalusi * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. */ #ifndef __OMAP_PCM_H__ #define __OMAP_PCM_H__ #if IS_ENABLED(CONFIG_SND_OMAP_SOC) int omap_pcm_platform_register(struct device *dev); #else static inline int omap_pcm_platform_register(struct device *dev) { return 0; } #endif /* CONFIG_SND_OMAP_SOC */ #endif /* __OMAP_PCM_H__ */ '> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/clocksource
>40
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorTony Luck <tony.luck@intel.com>2016-10-14 10:56:42 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-27 17:47:11 +0200
commit2a9becdd4dbed499815938308bdab9aae70dd561 (patch)
tree4dd2519edf64288329c6f00b3c20f7dca9fa0593 /Documentation
parent07d9a380680d1c0eb51ef87ff2eab5c994949e69 (diff)
kernfs: Add noop_fsync to supported kernfs_file_fops
If you edit a kernfs backed file with vi(1), you see an ugly error message when you write the file because vi tries to fsync(2) the file after writing, which fails. We have noop_fsync() for this, use it. Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')