Skip to content
Snippets Groups Projects
Commit 9bec12d4 authored by Laura Marilena Rientsma's avatar Laura Marilena Rientsma
Browse files

fixed error with flxnet_target

parent 4599b456
No related branches found
No related tags found
1 merge request!1Removed vmk180_serial_demo ip core, and use versal_network_device ip instead,...
......@@ -39,10 +39,10 @@
extern struct flxnet_peer * flxnet_add_peer(void* __iomem base_address, struct module *owner);
extern void flxnet_remove_peer(struct flxnet_peer *peer);
struct flxnet_peer *peer;
static int flx_net_probe(struct platform_device *pdev) {
void * __iomem base;
struct flxnet_peer *peer;
struct resource *mem;
pr_info("flxnet_target: probing is starting\n");
......@@ -75,7 +75,8 @@ static int flx_net_probe(struct platform_device *pdev) {
static int flx_net_remove(struct platform_device *pdev) {
flxnet_remove_peer(pdev->peer);
flxnet_remove_peer(peer);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment