summaryrefslogtreecommitdiff
path: root/kms++/inc
diff options
context:
space:
mode:
Diffstat (limited to 'kms++/inc')
-rw-r--r--kms++/inc/kms++/card.h5
-rw-r--r--kms++/inc/kms++/omap/omapcard.h3
2 files changed, 2 insertions, 6 deletions
diff --git a/kms++/inc/kms++/card.h b/kms++/inc/kms++/card.h
index a2c27f8..099d5b5 100644
--- a/kms++/inc/kms++/card.h
+++ b/kms++/inc/kms++/card.h
@@ -14,10 +14,7 @@ class Card
{
friend class Framebuffer;
public:
- static std::unique_ptr<Card> open_modesetting_card();
-
- Card();
- Card(const std::string& dev_path);
+ Card(const std::string& dev_path = "");
Card(const std::string& driver, uint32_t idx);
virtual ~Card();
diff --git a/kms++/inc/kms++/omap/omapcard.h b/kms++/inc/kms++/omap/omapcard.h
index 5c2f3a5..2f1f528 100644
--- a/kms++/inc/kms++/omap/omapcard.h
+++ b/kms++/inc/kms++/omap/omapcard.h
@@ -9,8 +9,7 @@ namespace kms
class OmapCard : public Card
{
public:
- OmapCard();
- OmapCard(const std::string& device);
+ OmapCard(const std::string& device = "");
virtual ~OmapCard();
struct omap_device* dev() const { return m_omap_dev; }