ce668da5f1
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. There are certain files in drivers/crypto/ux500, which follow this syntax, but the content inside does not comply with kernel-doc. Such lines were probably not meant for kernel-doc parsing, but are parsed due to the presence of kernel-doc like comment syntax(i.e, '/**'), which causes unexpected warnings from kernel-doc. E.g., presence of kernel-doc like comment in the header lines for drivers/crypto/ux500/cryp/cryp.h at header causes this warning: "warning: expecting prototype for ST(). Prototype was for _CRYP_H_() instead" Similarly for other files too. Provide a simple fix by replacing such occurrences with general comment format, i.e. '/*', to prevent kernel-doc from parsing it. Signed-off-by: Aditya Srivastava <yashsri421@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
32 lines
915 B
C
32 lines
915 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) ST-Ericsson SA 2010
|
|
* Author: Shujuan Chen <shujuan.chen@stericsson.com> for ST-Ericsson.
|
|
* Author: Jonas Linde <jonas.linde@stericsson.com> for ST-Ericsson.
|
|
* Author: Joakim Bech <joakim.xx.bech@stericsson.com> for ST-Ericsson.
|
|
* Author: Berne Hebark <berne.herbark@stericsson.com> for ST-Ericsson.
|
|
* Author: Niklas Hernaeus <niklas.hernaeus@stericsson.com> for ST-Ericsson.
|
|
*/
|
|
|
|
#ifndef _CRYP_IRQ_H_
|
|
#define _CRYP_IRQ_H_
|
|
|
|
#include "cryp.h"
|
|
|
|
enum cryp_irq_src_id {
|
|
CRYP_IRQ_SRC_INPUT_FIFO = 0x1,
|
|
CRYP_IRQ_SRC_OUTPUT_FIFO = 0x2,
|
|
CRYP_IRQ_SRC_ALL = 0x3
|
|
};
|
|
|
|
/*
|
|
* M0 Funtions
|
|
*/
|
|
void cryp_enable_irq_src(struct cryp_device_data *device_data, u32 irq_src);
|
|
|
|
void cryp_disable_irq_src(struct cryp_device_data *device_data, u32 irq_src);
|
|
|
|
bool cryp_pending_irq_src(struct cryp_device_data *device_data, u32 irq_src);
|
|
|
|
#endif /* _CRYP_IRQ_H_ */
|