Skip to content

Commit 9996783

Browse files
authored
Merge pull request #57 from mmaka1/dox-platform-api
doc: new platform_api group to be referred by sof-docs
2 parents d6b9902 + e9cfdff commit 9996783

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

src/include/sof/platform.h

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,22 @@
2828
* Author: Marcin Maka <marcin.maka@linux.intel.com>
2929
*/
3030

31+
/**
32+
* \file include/sof/platform.h
33+
* \brief Platform API definition
34+
* \author Marcin Maka <marcin.maka@linux.intel.com>
35+
*/
36+
3137
#ifndef __INCLUDE_SOF_PLATFORM_H__
3238
#define __INCLUDE_SOF_PLATFORM_H__
3339

3440
#include <sof/sof.h>
3541

42+
/** \addtogroup platform_api Platform API
43+
* Platform API specification.
44+
* @{
45+
*/
46+
3647
/*
3748
* APIs declared here are defined for every platform.
3849
*/
@@ -53,8 +64,10 @@ int platform_init(struct sof *sof);
5364

5465
/**
5566
* \brief Called by the panic handler.
56-
* \param[in] p Panic cause, one of SOF_IPC_PANIC_... codes.
67+
* \param[in] p Panic cause, one of SOF_IPC_PANIC_... codes (see ipc.h).
5768
*/
5869
static inline void platform_panic(uint32_t p);
5970

71+
/** @}*/
72+
6073
#endif

0 commit comments

Comments
 (0)