Skip to content
Commit 0cfe5a6e authored by Thierry Reding's avatar Thierry Reding
Browse files

gpu: host1x: Split up client initalization and registration



In some cases we may need to initialize the host1x client first before
registering it. This commit adds a new helper that will do nothing but
the initialization of the data structure.

At the same time, the initialization is removed from the registration
function. Note, however, that for simplicity we explicitly initialize
the client when the host1x_client_register() function is called, as
opposed to the low-level __host1x_client_register() function. This
allows existing callers to remain unchanged.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 73a395c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment