summaryrefslogtreecommitdiff
path: root/src/ochr_ws_driver.h
blob: 214859cb2f101b74099cda318b38a50d9d91139d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _OCHR_WS_DRIVER_H_
#define _OCHR_WS_DRIVER_H_

#include "wsbm_util.h"
#include "wsbm_driver.h"
#include "via_drm.h"

struct _ViaDrmValidateNode
{
    struct _ValidateNode base;
    struct via_validate_arg val_arg;
};

extern struct _WsbmVNodeFuncs *ochrVNodeFuncs(void);

static inline struct via_validate_req *
ochrValReq(struct _ValidateNode *node)
{
    return &(containerOf(node, struct _ViaDrmValidateNode, base)->
	     val_arg.d.req);
}

#endif