fpga: dfl: move dfl bus related APIs to include/linux/dfl.h
authorXu Yilun <yilun.xu@intel.com>
Thu, 7 Jan 2021 04:37:12 +0000 (20:37 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jan 2021 14:21:27 +0000 (15:21 +0100)
commitecc1641aca658ed4140751748f84985ffb6cce28
tree827e862d8685931507bf17e5cbee36f442a5cafe
parent4a224acec5971653bf0e8b6e1d2d0df72a7d57f7
fpga: dfl: move dfl bus related APIs to include/linux/dfl.h

Now the dfl drivers could be made as independent modules and put in
different folders according to their functionalities. In order for
scattered dfl device drivers to include dfl bus APIs, move the
dfl bus APIs to a new header file in the public folder.

[mdf@kernel.org: Fixed up header guards to match filename]

Reviewed-by: Tom Rix <trix@redhat.com>
Acked-by: Wu Hao <hao.wu@intel.com>
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Link: https://lore.kernel.org/r/20210107043714.991646-7-mdf@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
MAINTAINERS
drivers/fpga/dfl.c
drivers/fpga/dfl.h
include/linux/dfl.h [new file with mode: 0644]