OFS / linux-dfl

Linux kernel driver for the Device Feature List framework for FPGA devices
Other
23 stars 21 forks source link

mfd: intel-m10-bmc: remove unneeded header #8

Open trixirt opened 3 years ago

trixirt commented 3 years ago

dev_printk.h is not used directly by intel-m10-bmc.h So do not include it.

Signed-off-by: Tom Rix trix@redhat.com

rweight commented 3 years ago

Tom,

There is a call to dev_err() in the static function m10bmc_raw_read() that is defined in this header file:

https://github.com/OPAE/linux-dfl/blob/fpga-ofs-dev-5.10-lts/include/linux/mfd/intel-m10-bmc.h#L343

I believe that is why the header is included.