Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / drivers / net / ethernet / hisilicon / hns3 / hns3pf / hclge_dcb.h
1 /*
2  * Copyright (c) 2016~2017 Hisilicon Limited.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  */
9
10 #ifndef __HCLGE_DCB_H__
11 #define __HCLGE_DCB_H__
12
13 #include "hclge_main.h"
14
15 #ifdef CONFIG_HNS3_DCB
16 void hclge_dcb_ops_set(struct hclge_dev *hdev);
17 #else
18 static inline void hclge_dcb_ops_set(struct hclge_dev *hdev) {}
19 #endif
20
21 #endif /* __HCLGE_DCB_H__ */