Skip to content

Commit

Permalink
Merge branch 'compat-6.4' into 'master'
Browse files Browse the repository at this point in the history
Compatible with v6.4 changes

See merge request ddcci-driver-linux/ddcci-driver-linux!13

Closes torvalds#34
  • Loading branch information
cgrenz committed Aug 18, 2023
2 parents baf6e57 + 410fd6e commit 462e710
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ddcci/ddcci.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ static bool module_initialized = false;
static dev_t ddcci_cdev_first;
static dev_t ddcci_cdev_next;
static dev_t ddcci_cdev_end;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0)
static DEFINE_SEMAPHORE(core_lock, 1);
#else
static DEFINE_SEMAPHORE(core_lock);
#endif

struct bus_type ddcci_bus_type;
EXPORT_SYMBOL_GPL(ddcci_bus_type);
Expand Down

0 comments on commit 462e710

Please sign in to comment.