From d364d597ee666a0f90e521ba0254fda82662a335 Mon Sep 17 00:00:00 2001 From: Dinesh Manajipet Date: Mon, 20 Jan 2025 14:18:45 +0530 Subject: [PATCH] Fix compilation error in poll_driver.c The extra '{' makes this file uncompilable and this CL fixes that. --- Linux/Device_Driver/Poll/poll_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linux/Device_Driver/Poll/poll_driver.c b/Linux/Device_Driver/Poll/poll_driver.c index ef12c4d..4a728bf 100644 --- a/Linux/Device_Driver/Poll/poll_driver.c +++ b/Linux/Device_Driver/Poll/poll_driver.c @@ -215,7 +215,7 @@ static int __init etx_driver_init(void) } /*Creating device*/ - if(IS_ERR(device_create(dev_class,NULL,dev,NULL,"etx_device"))){ + if(IS_ERR(device_create(dev_class,NULL,dev,NULL,"etx_device"))) { pr_err("Cannot create the Device 1\n"); goto r_device;