Move PS3FB_IOCTL_SETMODE and PS3FB_IOCTL_GETMODE to ps3-av.h
Move PS3FB_IOCTL_SETMODE and PS3FB_IOCTL_GETMODE to the libps3-utils
header ps3-av.h to make those symbols available to library users.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
diff --git a/lib/ps3-av.h b/lib/ps3-av.h
index f98c742..cb44b15 100644
--- a/lib/ps3-av.h
+++ b/lib/ps3-av.h
@@ -56,4 +56,7 @@
#define PS3AV_MODE_HDCP_OFF 0x1000 /* Retail PS3 doesn't support this */
#endif
+#define PS3FB_IOCTL_SETMODE _IOW('r', 1, int)
+#define PS3FB_IOCTL_GETMODE _IOR('r', 2, int)
+
#endif
diff --git a/ps3-video-mode.c b/ps3-video-mode.c
index 0debb0c..5238f10 100644
--- a/ps3-video-mode.c
+++ b/ps3-video-mode.c
@@ -55,9 +55,6 @@
static const char fb_dev[] = "/dev/fb0";
-#define PS3FB_IOCTL_SETMODE _IOW('r', 1, int)
-#define PS3FB_IOCTL_GETMODE _IOR('r', 2, int)
-
static void print_version(void)
{
printf(PS3_UTILS_VERSION);