summaryrefslogtreecommitdiff
path: root/include/sound/atmel-abdac.h
blob: a8f735d677fa5b29f49c7f64efffdf67e4c38c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Driver for the Atmel Audio Bitstream DAC (ABDAC)
 *
 * Copyright (C) 2009 Atmel Corporation
 *
 * 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.
 */
#ifndef __INCLUDE_SOUND_ATMEL_ABDAC_H
#define __INCLUDE_SOUND_ATMEL_ABDAC_H

#include <linux/platform_data/dma-dw.h>

/**
 * struct atmel_abdac_pdata - board specific ABDAC configuration
 * @dws: DMA slave interface to use for sound playback.
 */
struct atmel_abdac_pdata {
	struct dw_dma_slave	dws;
};

#endif /* __INCLUDE_SOUND_ATMEL_ABDAC_H */
'commit info' class='commit-info'> authorThomas Gleixner <tglx@linutronix.de>2016-12-26 22:58:20 +0100 committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-26 17:30:24 -0800 commit0dad3a3014a0b9e72521ff44f17e0054f43dcdea (patch) tree6122a01208f56efd2766697a265ba559cbbbb452 /drivers/usb/chipidea/host.h parentb9d9d6911bd5c370ad4b3aa57d758c093d17aed5 (diff)
x86/mce/AMD: Make the init code more robust
If mce_device_init() fails then the mce device pointer is NULL and the AMD mce code happily dereferences it. Add a sanity check. Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de> Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb/chipidea/host.h')