blob: 736219b63ab140719a043b4d00bd4e82f897cbf8 [file] [log] [blame]
Neeti Desai92eab922012-10-22 15:14:48 -07001/*
2 * Copyright (c) 2012, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14/**
15 * This module exists for the express purpose of removing memory
16 * via the msm memory-remove mechanism (see
17 * Documentation/devicetree/bindings/arm/msm/memory-reserve.txt). Compiling
18 * this module into a kernel is essentially the means by which any
19 * nodes in the device tree with compatible =
20 * "qcom,msm-mem-hole" will be "activated", thus providing a
21 * convenient mechanism for enabling/disabling memory removal
22 * (qcom,memory-*).
23 */
24
25#include <linux/module.h>
26
27#define MSM_MEM_HOLE_COMPAT_STR "qcom,msm-mem-hole"
28
29EXPORT_COMPAT(MSM_MEM_HOLE_COMPAT_STR);