Merge tag 'rtc-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[linux-block.git] / drivers / gpu / drm / xe / xe_tile_sysfs.h
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2023 Intel Corporation
4  */
5
6 #ifndef _XE_TILE_SYSFS_H_
7 #define _XE_TILE_SYSFS_H_
8
9 #include "xe_tile_sysfs_types.h"
10
11 void xe_tile_sysfs_init(struct xe_tile *tile);
12
13 static inline struct xe_tile *
14 kobj_to_tile(struct kobject *kobj)
15 {
16         return container_of(kobj, struct kobj_tile, base)->tile;
17 }
18
19 #endif /* _XE_TILE_SYSFS_H_ */