Sign in
third-party-mirror
/
backupdr
/
refs/heads/11.0.4
/
.
/
scst
/
srpt
/
conftest
/
register_mad_agent
/
register_mad_agent.c
blob: 4741b10818f6cf0055b35cdf3ff468b654362146 [
file
] [
log
] [
blame
]
#include
<linux/module.h>
#include
<rdma/ib_mad.h>
static
int
__init modinit
(
void
)
{
struct
ib_mad_agent
*
a
;
a
=
ib_register_mad_agent
(
NULL
,
0
,
0
,
NULL
,
0
,
NULL
,
NULL
,
NULL
,
0
);
return
a
!=
0
;
}
module_init
(
modinit
);
MODULE_LICENSE
(
"GPL"
);