X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Finfiniband%2Fhw%2Fhfi1%2Feprom.h;h=e774184f1643013c46d8b09b12fa982dbba2af77;hb=107ffbc521b07f22c2e8d1c5fce39766c265c02c;hp=d41f0b1afb1503a077a90dae5e3d66e6696f63ed;hpb=616d1c1b98ac79f30216a57a170dd7cea19b3df3;p=karo-tx-linux.git diff --git a/drivers/infiniband/hw/hfi1/eprom.h b/drivers/infiniband/hw/hfi1/eprom.h index d41f0b1afb15..e774184f1643 100644 --- a/drivers/infiniband/hw/hfi1/eprom.h +++ b/drivers/infiniband/hw/hfi1/eprom.h @@ -45,8 +45,8 @@ * */ -struct hfi1_cmd; struct hfi1_devdata; int eprom_init(struct hfi1_devdata *dd); -int handle_eprom_command(struct file *fp, const struct hfi1_cmd *cmd); +int eprom_read_platform_config(struct hfi1_devdata *dd, void **buf_ret, + u32 *size_ret);