Skip to content

Commit

Permalink
proc_create_data() is deprecated in favor of functions like proc_crea…
Browse files Browse the repository at this point in the history
…te_seq_data()
  • Loading branch information
ruck314 committed Feb 27, 2024
1 parent 31d35ca commit a318c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/driver/dma_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ int Dma_Init(struct DmaDevice *dev) {


// Setup /proc
if ( NULL == proc_create_data(dev->devName, 0, NULL, &DmaProcOps, dev)) {
if ( NULL == proc_create_seq_data(dev->devName, 0, NULL, &DmaProcOps, dev)) {
dev_err(dev->device,"Init: Failed to create proc entry.\n");
goto cleanup_device_create;
}
Expand Down

0 comments on commit a318c56

Please sign in to comment.