summaryrefslogtreecommitdiff
path: root/callisto-platform.h
blob: e7d017e88338ebcded04f7cccdf768e91755ad30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Platform device driver for Callisto.
 *
 * Copyright (C) 2022 Google LLC
 */

#ifndef __CALLISTO_PLATFORM_H__
#define __CALLISTO_PLATFORM_H__

#include "gxp-mcu-platform.h"

#define to_callisto_dev(gxp)                                                   \
	container_of(to_mcu_dev(gxp), struct callisto_dev, mcu_dev)

struct callisto_dev {
	struct gxp_mcu_dev mcu_dev;
};

#endif /* __CALLISTO_PLATFORM_H__ */