msm: synx: build script as DLKM for Vendor SI
added mk and Kbuild script to support building synx driver as external module for Vendor SI Change-Id: Ib66325d115ca46e6b61de1e168e85d09419f73e2 Signed-off-by: NITIN LAXMIDAS NAIK <quic_nitinlax@quicinc.com>
This commit is contained in:
27
msm/synx/synx_err.h
Normal file
27
msm/synx/synx_err.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __SYNX_ERR_H__
|
||||
#define __SYNX_ERR_H__
|
||||
|
||||
#include <linux/err.h>
|
||||
|
||||
/**
|
||||
* Error codes returned from framework
|
||||
*
|
||||
* Return codes are mapped to platform specific
|
||||
* return values.
|
||||
*/
|
||||
#define SYNX_SUCCESS 0
|
||||
#define SYNX_NOMEM ENOMEM
|
||||
#define SYNX_NOSUPPORT EOPNOTSUPP
|
||||
#define SYNX_NOPERM EPERM
|
||||
#define SYNX_TIMEOUT ETIMEDOUT
|
||||
#define SYNX_ALREADY EALREADY
|
||||
#define SYNX_NOENT ENOENT
|
||||
#define SYNX_INVALID EINVAL
|
||||
#define SYNX_BUSY EBUSY
|
||||
|
||||
#endif /* __SYNX_ERR_H__ */
|
Reference in New Issue
Block a user