Skip to content

Commit

Permalink
fsck,fssk,hdck,hdsk: guard IRX_ID expansion for IOP platform only
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian committed Jul 28, 2023
1 parent 2553f20 commit 3019a8c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iop/hdd/fsck/src/fsck.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@

#include "fsck-ioctl.h"

#ifdef _IOP
IRX_ID("fsck", PFS_MAJOR, PFS_MINOR);
#endif

struct fsckRuntimeData
{
Expand Down
2 changes: 2 additions & 0 deletions iop/hdd/fssk/src/fssk.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
#include "fssk.h"
#include "misc_fssk.h"

#ifdef _IOP
IRX_ID("fssk", PFS_MAJOR, PFS_MINOR);
#endif

struct fsskRuntimeData
{
Expand Down
2 changes: 2 additions & 0 deletions iop/hdd/hdck/src/hdck.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@

#include "misc_hdck.h"

#ifdef _IOP
IRX_ID("hdck", APA_MODVER_MAJOR, APA_MODVER_MINOR);
#endif

// Function prototypes
static int HdckInit(iomanX_iop_device_t *device);
Expand Down
2 changes: 2 additions & 0 deletions iop/hdd/hdsk/src/hdsk.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
#include "hdl.h"
#endif

#ifdef _IOP
IRX_ID("hdsk", APA_MODVER_MAJOR, APA_MODVER_MINOR);
#endif

static apa_device_t HddInfo[2] = {
{0, 0, 0, 3},
Expand Down

0 comments on commit 3019a8c

Please sign in to comment.