mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 12:10:23 -04:00
staging: vchiq: Move defines into core header
Those are only used in the core vchiq code, while present in vchiq's 'public' API header. Move them into the right place. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20200629150945.10720-47-nsaenzjulienne@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
dcfbf457ae
commit
5ada309f4a
@@ -4,11 +4,6 @@
|
||||
#ifndef VCHIQ_H
|
||||
#define VCHIQ_H
|
||||
|
||||
#define VCHIQ_SERVICE_HANDLE_INVALID 0
|
||||
|
||||
#define VCHIQ_SLOT_SIZE 4096
|
||||
#define VCHIQ_MAX_MSG_SIZE (VCHIQ_SLOT_SIZE - sizeof(struct vchiq_header))
|
||||
|
||||
#define VCHIQ_MAKE_FOURCC(x0, x1, x2, x3) \
|
||||
(((x0) << 24) | ((x1) << 16) | ((x2) << 8) | (x3))
|
||||
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
|
||||
#endif /* IS_ENABLED(CONFIG_RASPBERRYPI_FIRMWARE) */
|
||||
|
||||
#define VCHIQ_SERVICE_HANDLE_INVALID 0
|
||||
|
||||
#define VCHIQ_SLOT_SIZE 4096
|
||||
#define VCHIQ_MAX_MSG_SIZE (VCHIQ_SLOT_SIZE - sizeof(struct vchiq_header))
|
||||
|
||||
/* Run time control of log level, based on KERN_XXX level. */
|
||||
#define VCHIQ_LOG_DEFAULT 4
|
||||
|
||||
Reference in New Issue
Block a user