IB/core: Use CONFIG_SECURITY_INFINIBAND to compile out security code
authorParav Pandit <parav@mellanox.com>
Thu, 26 Apr 2018 07:56:34 +0000 (10:56 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 1 May 2018 15:16:36 +0000 (11:16 -0400)
commit2f6e51365727a1428d281821ec928904c723e47d
tree77ff65e7877bdb5b247c7c1e96fef4766f59129a
parente12ee8ce51435c4d24f437f10e0fce773505c674
IB/core: Use CONFIG_SECURITY_INFINIBAND to compile out security code

Make security.c depends on CONFIG_SECURITY_INFINIBAND.

Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/Makefile
drivers/infiniband/core/security.c