From patchwork Mon Oct 16 18:50:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Shachnev X-Patchwork-Id: 10009599 X-Patchwork-Delegate: shuah@kernel.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 63B3F60235 for ; Mon, 16 Oct 2017 18:50:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56D7128662 for ; Mon, 16 Oct 2017 18:50:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B99728689; Mon, 16 Oct 2017 18:50:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E0B1128662 for ; Mon, 16 Oct 2017 18:50:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755051AbdJPSuK (ORCPT ); Mon, 16 Oct 2017 14:50:10 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:44018 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755009AbdJPSuI (ORCPT ); Mon, 16 Oct 2017 14:50:08 -0400 Received: by mail-lf0-f65.google.com with SMTP id a16so18135261lfk.0 for ; Mon, 16 Oct 2017 11:50:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=ZfHQ/FoeVyh9BY+b5A8otiWIa7NBx2OpuqNSP9Q9eBs=; b=O0zkb0k4UTR7cFnp7s0tWzAMc6jPfi8v7tiKvzYcJMrAW7jrvhoaAydQHpxDEnEq+j mw7pRZETr7Vm5IsnKU5z3VD6DujgqJ9O1iqXEb7O96zNLw+Wi4NHs8uVxGTu6DSKcHs+ 6xrGpT5UjWT4AREYCJL0fO6oMzSWxvfzKstqqe1kSbOlBLeehe3o85dBFDtuykG4fdf/ mE252pQzjfuYrx6to9cVsE/ivaP69k0qmvIxywGTj29E/B6cg/KwfYxon3VyAnED34pI cV/zIKlcskb+cQ4aFVwgmVYNZNmI1ZbY7ouK8x8PZqq04Ah/PH6HUZWnfQnZrnpVWsvb U5sQ== X-Gm-Message-State: AMCzsaWs+DGKQiyVsACdZ6TLruHSlyxDO+7Q8vl+TlB9Cx+cshGMoUkT lTLwWVWb8EdBTfRMFKfHlL4= X-Google-Smtp-Source: ABhQp+RwPlx0UnfvJgwtGU956l9hELqqqu2w3ahKY9f6xKY1S7T1NIBxIZq6dyo+DV9Wuc4bmvmjtA== X-Received: by 10.46.19.25 with SMTP id 25mr3978267ljt.153.1508179807219; Mon, 16 Oct 2017 11:50:07 -0700 (PDT) Received: from mitya57.me ([213.87.150.151]) by smtp.gmail.com with ESMTPSA id j14sm1636676lfh.31.2017.10.16.11.50.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Oct 2017 11:50:06 -0700 (PDT) Date: Mon, 16 Oct 2017 21:50:04 +0300 From: Dmitry Shachnev To: Thomas Renninger Cc: linux-pm@vger.kernel.org Subject: [PATCH] cpupower: Install cpupower.h as a public header file Message-ID: <20171016185004.zyq6eugwedc34f7l@mitya57.me> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This helps software that uses cpupower_is_cpu_online function, such as gnome-applets. Signed-off-by: Dmitry Shachnev Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=153161 --- tools/power/cpupower/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile index 4c5a481a850c..113e14983c7d 100644 --- a/tools/power/cpupower/Makefile +++ b/tools/power/cpupower/Makefile @@ -278,6 +278,7 @@ install-lib: $(INSTALL) -d $(DESTDIR)${includedir} $(INSTALL_DATA) lib/cpufreq.h $(DESTDIR)${includedir}/cpufreq.h $(INSTALL_DATA) lib/cpuidle.h $(DESTDIR)${includedir}/cpuidle.h + $(INSTALL_DATA) lib/cpupower.h $(DESTDIR)${includedir}/cpupower.h install-tools: $(INSTALL) -d $(DESTDIR)${bindir} @@ -314,6 +315,7 @@ uninstall: - rm -f $(DESTDIR)${libdir}/libcpupower.* - rm -f $(DESTDIR)${includedir}/cpufreq.h - rm -f $(DESTDIR)${includedir}/cpuidle.h + - rm -f $(DESTDIR)${includedir}/cpupower.h - rm -f $(DESTDIR)${bindir}/utils/cpupower - rm -f $(DESTDIR)${mandir}/man1/cpupower.1 - rm -f $(DESTDIR)${mandir}/man1/cpupower-frequency-set.1