media_devnode_unregister_prepare
Prev | Media Controller devices | Next

## Name

media_devnode_unregister_prepare — clear the media device node register bit

## Synopsis

`void media_devnode_unregister_prepare (` | struct media_devnode * devnode`)`;

## Arguments

`devnode`

  the device node to prepare for unregister

## Description

This clears the passed device register bit. Future open calls will be met with errors. Should be called before `media_devnode_unregister` to avoid races with unregister and device file open calls.

This function can safely be called if the device node has never been registered or has already been unregistered.

Prev | Up | Next
struct media_devnode | Home | struct media_entity_operations