Commit 152669f8 authored by Piyush Mehta's avatar Piyush Mehta Committed by Greg Kroah-Hartman

usb: gadget: udc: udc-xilinx: Add identifier to read_fn function arg

Add an identifier in the read_fn function declaration because based on
commit ca0d8929 ("checkpatch: add warning for unnamed function
definition arguments") it is the preferred coding style even C standard
allows both formats.
Signed-off-by: default avatarPiyush Mehta <piyush.mehta@amd.com>
Message-ID: <20230607072959.2334046-1-piyush.mehta@amd.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f817f271
......@@ -192,7 +192,7 @@ struct xusb_udc {
bool dma_enabled;
struct clk *clk;
unsigned int (*read_fn)(void __iomem *);
unsigned int (*read_fn)(void __iomem *reg);
void (*write_fn)(void __iomem *, u32, u32);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment