]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/infiniband/hw/hfi1/eprom.h
IB/hfi1: Add ability to read platform config from the EPROM
[karo-tx-linux.git] / drivers / infiniband / hw / hfi1 / eprom.h
index d41f0b1afb1503a077a90dae5e3d66e6696f63ed..e774184f1643013c46d8b09b12fa982dbba2af77 100644 (file)
@@ -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);