diff options
| -rw-r--r-- | drivers/rpmsg/qcom_smd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c index b062e9d6e25f..35089039a335 100644 --- a/drivers/rpmsg/qcom_smd.c +++ b/drivers/rpmsg/qcom_smd.c | |||
| @@ -167,9 +167,9 @@ struct qcom_smd_endpoint { | |||
| 167 | struct qcom_smd_channel *qsch; | 167 | struct qcom_smd_channel *qsch; |
| 168 | }; | 168 | }; |
| 169 | 169 | ||
| 170 | #define to_smd_device(_rpdev) container_of(_rpdev, struct qcom_smd_device, rpdev) | 170 | #define to_smd_device(r) container_of(r, struct qcom_smd_device, rpdev) |
| 171 | #define to_smd_edge(d) container_of(d, struct qcom_smd_edge, dev) | 171 | #define to_smd_edge(d) container_of(d, struct qcom_smd_edge, dev) |
| 172 | #define to_smd_endpoint(ept) container_of(ept, struct qcom_smd_endpoint, ept) | 172 | #define to_smd_endpoint(e) container_of(e, struct qcom_smd_endpoint, ept) |
| 173 | 173 | ||
| 174 | /** | 174 | /** |
| 175 | * struct qcom_smd_channel - smd channel struct | 175 | * struct qcom_smd_channel - smd channel struct |
