summaryrefslogtreecommitdiff
path: root/src/freebsd/up-acpi-native.vala
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2010-01-18 13:06:07 +0000
committerRichard Hughes <richard@hughsie.com>2010-01-18 13:06:07 +0000
commit2a9dff08f61002f495f3a55ace168e21fc249902 (patch)
tree7211cbe449e9c943ba44ed46dcf1dcb3607f01d4 /src/freebsd/up-acpi-native.vala
parent8d4ec58206cf9939830f567c8aaeed5286e785f7 (diff)
downloadupower-2a9dff08f61002f495f3a55ace168e21fc249902.tar.gz
trivial: convert freebsd private object to using upower prefix (no ABI or API changes)
Diffstat (limited to 'src/freebsd/up-acpi-native.vala')
-rw-r--r--src/freebsd/up-acpi-native.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/freebsd/up-acpi-native.vala b/src/freebsd/up-acpi-native.vala
index 7710798..796d97e 100644
--- a/src/freebsd/up-acpi-native.vala
+++ b/src/freebsd/up-acpi-native.vala
@@ -1,4 +1,4 @@
-public class DkpAcpiNative : Object {
+public class UpAcpiNative : Object {
private string? _driver;
private int _unit;
private string _path;
@@ -15,7 +15,7 @@ public class DkpAcpiNative : Object {
get { return _path; }
}
- public DkpAcpiNative (string path) {
+ public UpAcpiNative (string path) {
Regex r;
MatchInfo mi;
bool ret;
@@ -38,7 +38,7 @@ public class DkpAcpiNative : Object {
_path = path;
}
- public DkpAcpiNative.driver_unit (string driver, int unit) {
+ public UpAcpiNative.driver_unit (string driver, int unit) {
_driver = driver;
_unit = unit;
_path = "dev.%s.%i".printf (_driver, _unit);