]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - include/net/caif/cfcnfg.h
net: caif: add proper error handling
[mirror_ubuntu-hirsute-kernel.git] / include / net / caif / cfcnfg.h
index 2aa5e91d84576a712280a2ace320e3664e7e3947..8819ff4db35a6936b317265a10864c2d6d2f89cf 100644 (file)
@@ -62,7 +62,7 @@ void cfcnfg_remove(struct cfcnfg *cfg);
  * @fcs:       Specify if checksum is used in CAIF Framing Layer.
  * @head_room: Head space needed by link specific protocol.
  */
-void
+int
 cfcnfg_add_phy_layer(struct cfcnfg *cnfg,
                     struct net_device *dev, struct cflayer *phy_layer,
                     enum cfcnfg_phy_preference pref,